Commit graph

46 commits

Author SHA1 Message Date
Amine Khaldi fd317aa03e [PSDK]
- Add several missing mswsockdef.h definitions.
- mswsock.h : Introduce pragma once, apply consistent formatting, improve several existing definitions, remove some unrelated ones and add several missing ones.

svn path=/branches/header-work/; revision=46501
2010-03-27 22:06:39 +00:00
Timo Kreuzer 87ac6e3504 More formatting fixe
svn path=/branches/header-work/; revision=46487
2010-03-27 10:45:04 +00:00
Amine Khaldi 636b46506f [DDK]
- Move devioctl.h to PSDK, introduce pragma once, apply consistent formatting and add several missing definitions.
[XDK]
- Autogenerate devioctl.h based on devioctl.template.h

svn path=/branches/header-work/; revision=46482
2010-03-27 01:12:23 +00:00
Amine Khaldi aa5f7dabb5 [DDK]
- Move compstui.h to PSDK, introduce pragma once, apply consistent formatting, add missing definitions and improve several existing ones.

svn path=/branches/header-work/; revision=46480
2010-03-27 00:08:19 +00:00
Amine Khaldi d134425466 Fix build.
Dedicated to Timo ;)

svn path=/branches/header-work/; revision=46453
2010-03-25 23:40:31 +00:00
Amine Khaldi 2bce4e0e52 Sync with trunk head.
svn path=/branches/header-work/; revision=46444
2010-03-25 18:04:58 +00:00
Amine Khaldi 0474c721c7 [DDK]
- Move tvout.h to PSDK.

svn path=/branches/header-work/; revision=46435
2010-03-25 12:37:44 +00:00
Amine Khaldi 0f7b50812f [DDK]
- Move cfg.h and cfgmgr32.h to PSDK, introduce pragma once, apply consistent formatting, add missing definitions and improve several existing ones.
[UNIATA]
- DDKAPI -> NTAPI.

svn path=/branches/header-work/; revision=46409
2010-03-24 22:56:18 +00:00
Amine Khaldi 52281dc572 - Move atsmedia.h to PSDK, introduce pragma once and remove the comments block and the header guard.
- NTDDK -> NTAPI
- DDKCDECLAPI -> __cdecl
- Update wdm.h to reflect the recent XDK changes
- Improve bdasup.h, apply a consistent formatting, introduce pragma once and add the missing BDA_TOPOLOGY_JOINT and KSM_PIN_PAIR definitions

svn path=/branches/header-work/; revision=46362
2010-03-23 18:38:46 +00:00
Timo Kreuzer 5bfe925b10 [XDK]
- Reorder iotypes, putting wdm stuff before ntddk stuff (dependencies)
- Update wdm.h and ntddk.h
- cleanup ntdef.h, use C-style comments

svn path=/branches/header-work/; revision=46358
2010-03-23 16:42:06 +00:00
Timo Kreuzer f36be5691c DDKAPI -> NTAPI
svn path=/branches/header-work/; revision=46357
2010-03-23 16:38:10 +00:00
Amine Khaldi b5c5fd533b [PSDK]
- Add devpropdef.h and evntprov.h
- Fix UOW redefinition.
[DDK]
- Fix PGUID redefinition.
[XDK]
- Add wmitypes.h and include it in wdm.h autogeneration template.
- Move several definitions to their appropriate places.
- Add HalGetDmaAlignment, LEGACY_BUS_INFORMATION, IO_DEVICE_EJECT_CALLBACK, PLUGPLAY_PROPERTY_PERSISTENT, and several missing Io*, DEVICE_*, REENUMERATE_*, PCI_*, PNP_*, Ob*, OB_*, PO_*, Wmi*, Etw* and ACPI related definitions.
- Add CmKeyObjectType to exported object types.
- Fix UOW redefinition.
- Group some related definitions.
[WDM]
- Update wdm.h to reflect XDK changes.

svn path=/branches/header-work/; revision=46329
2010-03-22 01:00:05 +00:00
Amine Khaldi a896fedfea [NTOSKRNL]
- Remove duplicate SINGLE_GROUP_LEGACY_API definition.
[PSDK]
- Add missing GROUP_AFFINITY structure.
[NTDDK]
- Remove ExFreePool definition.
[NDK]
- Remove duplicate PROCESSOR_CACHE_TYPE and CACHE_DESCRIPTOR definitions (they now exist in wdm.h).
[XDK]
- Move several definitions to their appropriate places.
- Add PROCESSOR_CALLBACK_FUNCTION, INVALID_PROCESSOR_INDEX, XSTATE_SAVE, LOOKASIDE_MINIMUM_BLOCK_SIZE and several missing Ke*, KBUGCHECK_*, KB_ADD_PAGES_FLAG_*, EXCEPTION_*, KE_PROCESSOR_CHANGE_*, Ex*, FirstEntrySList, and EX_*, RESOURCE_* definitions.
- Update ExAllocateFromNPagedLookasideList, ExAllocateFromPagedLookasideList, ExFreeToPagedLookasideList, OWNER_ENTRY and ERESOURCE.
- Group some related definitions.
[WDM]
- Update wdm.h to reflect XDK changes.

svn path=/branches/header-work/; revision=46287
2010-03-20 16:58:43 +00:00
Amine Khaldi b797eef5ea Sync with trunk head (part 1 of 2)
svn path=/branches/header-work/; revision=46262
2010-03-18 15:37:13 +00:00
Amine Khaldi b2c1de9860 [PSDK]
- Add several missing ntiologc.h definitions.
[XDK]
- Include ntiologc.h in wdm.h
[WDM]
- Update wdm.h to reflect XDK changes.

svn path=/branches/header-work/; revision=46261
2010-03-18 14:14:27 +00:00
Amine Khaldi d61c8a9d77 [PSDK]
Really fix usbioctl.h

svn path=/branches/header-work/; revision=46163
2010-03-13 13:19:18 +00:00
Amine Khaldi a921cae33f [PSDK]
Fix usbioctl.h

svn path=/branches/header-work/; revision=46162
2010-03-13 13:15:47 +00:00
Amine Khaldi c50973ffa4 [PSDK]
Move NTSTATUS codes from DDK to PSDK, removing all the duplicated ones (and adding a couple of missing ones).

Dedicated to arty

svn path=/branches/header-work/; revision=46158
2010-03-13 01:18:58 +00:00
Amine Khaldi 350dfd1b9d Sync with trunk head
svn path=/branches/header-work/; revision=46148
2010-03-12 20:08:06 +00:00
Amine Khaldi b5e6da689b [PSDK]
- Move ntddkbd.h to PSDK
- Add several missing KEYBOARD_* definitions

svn path=/branches/header-work/; revision=46145
2010-03-12 18:32:40 +00:00
Timo Kreuzer 16e291bd53 [PSDK]
- Add dpfilter.h
- batclass.h: Fix BatteryClassSystemControl
- ntdef.h: add ARGUMENT_PRESENT and PEXCEPTION_ROUTINE
[NDK]
- Add some ob functions
[DDK]
- add wmlib.h
- remove winddk.h
[WDM]
- include dpfilter.h
- Add ASSERT_GATE, ASSERT_TIMER, ASSERT_MUTANT, ASSERT_SEMAPHORE, ASSERT_EVENT, TIMER_TABLE_SIZE, TIMER_TABLE_SHIFT, ADDRESS_AND_SIZE_TO_SPAN_PAGES, PoRequestShutdownEvent
- Group architecture specific definitions (currently only x86)
- uncomment some _DECL_HAL_KE_IMPORT


svn path=/branches/header-work/; revision=46137
2010-03-12 16:37:33 +00:00
Timo Kreuzer 7494f42e77 [KTMTYPES]
Fix the UOW hack, use special case for C++
Thanks to Dmitry Gorbachev for the solution.

svn path=/branches/header-work/; revision=46094
2010-03-11 11:32:54 +00:00
Timo Kreuzer 1f40221394 [KMTYPES]
Add a compilation hack for gcc

svn path=/branches/header-work/; revision=46089
2010-03-11 00:47:36 +00:00
Timo Kreuzer 25bb3c834b Add kmtypes.h
svn path=/branches/header-work/; revision=46074
2010-03-10 21:44:50 +00:00
Timo Kreuzer 5116769c9b [NTDEF] Add PROCESSOR_NUMBER
[NTDDK] Define only CONTEXT, not PCONTEXT, it is already defined by wdm.h, add missing #endif, move OSVERSIONINFO*, CONFIGURATION_TYPE, CONFIGURATION_INFORMATION,PIO_QUERY_DEVICE_ROUTINE, DRIVER_REINITIALIZE and PHYSICAL_MEMORY_RANGE from winddk, add RTL_SPLAY_LINKS

svn path=/branches/header-work/; revision=46071
2010-03-10 20:41:13 +00:00
Amine Khaldi a00acb2a1b Sync with trunk head
svn path=/branches/header-work/; revision=46021
2010-03-09 00:19:55 +00:00
Timo Kreuzer c924e7681c Add some Win7 version defines
svn path=/branches/header-work/; revision=45968
2010-03-06 22:50:52 +00:00
Amine Khaldi 5748c28965 - Remove ntddk include from ntoskrnl.h
- NTIFS : tagTOKEN_TYPE -> _TOKEN_TYPE
- Remove redundant MmFlushImageSection definition from winddk
- Add _BUS_HANDLER struct forwarder
- Guard ifssupp.h with #ifndef _NTIFS_ condition
- Add WAIT_TYPE, LOGICAL and PLOGICAL definitions to ntdef.h and get rid of the incorrect ones in winddk.h
- Group related *_POWER_* definitions 
- Move PKSYNCHRONIZE_ROUTINE and POOL_TYPE to the kernel types section
- PDEVICE_OBJECT  DeviceObject -> struct _DEVICE_OBJECT  *DeviceObject in some cases
- PIRP Irp -> struct _IRP  *Irp in some cases

svn path=/branches/header-work/; revision=45903
2010-03-06 00:59:29 +00:00
Amine Khaldi e488e6e43c More work on USB related definitions
svn path=/branches/header-work/; revision=45867
2010-03-05 12:25:38 +00:00
Amine Khaldi 78a63975f8 More work on USB related definitions
svn path=/branches/header-work/; revision=45866
2010-03-05 12:07:35 +00:00
Amine Khaldi 749428da20 More work on USB related definitions
svn path=/branches/header-work/; revision=45865
2010-03-05 11:58:34 +00:00
Amine Khaldi 73cc29ce32 More work on USB related definitions
svn path=/branches/header-work/; revision=45864
2010-03-05 11:44:11 +00:00
Amine Khaldi 97e7fd6cb6 More work on USB related definitions
svn path=/branches/header-work/; revision=45863
2010-03-05 11:12:29 +00:00
Amine Khaldi a7ffadade2 More work on USB related definitions
svn path=/branches/header-work/; revision=45861
2010-03-05 09:56:28 +00:00
Amine Khaldi 7ff52a15bf More work on USB related definitions
svn path=/branches/header-work/; revision=45856
2010-03-05 01:12:11 +00:00
Amine Khaldi 9605671f96 More work on USB related definitions
svn path=/branches/header-work/; revision=45854
2010-03-05 01:07:08 +00:00
Amine Khaldi 846448c7ab More work on USB related definitions
svn path=/branches/header-work/; revision=45853
2010-03-05 00:54:36 +00:00
Amine Khaldi 4a9a65ab2a More work on USB related definitions
svn path=/branches/header-work/; revision=45850
2010-03-05 00:15:36 +00:00
Amine Khaldi 1ff2c4916b More work on USB related definitions
svn path=/branches/header-work/; revision=45849
2010-03-05 00:08:17 +00:00
Amine Khaldi 19adca9597 More work on USB related definitions
svn path=/branches/header-work/; revision=45848
2010-03-04 23:57:29 +00:00
Timo Kreuzer 38322160da - sort wdm.h a bit more
- add missing NTAPI
- move TIMER_TYPE to ntdef.h
- remove duplicate port and register functions
- add volatile keyword where appropriate to register access inline functions
- Use result variable in IoGetRemainingStackSize inline function to avoid a warning

svn path=/branches/header-work/; revision=45816
2010-03-03 23:02:02 +00:00
Amine Khaldi d944603372 - Move ntdef.h from ddk to psdk
- Move EVENT_TYPE to ntdef.h
- Introduce pragma once to wdm.h
- Fix FAST_MUTEX
- FastMutex->Gate => FastMutex->Event
- Improve KeInitializeEvent
- Improve InitializeSListHead

svn path=/branches/header-work/; revision=45789
2010-03-03 16:03:14 +00:00
Kai Tietz 8099cb0496 Guard IN, OUT, and OPTIONAL by guards to prevent double definition warning.
svn path=/branches/header-work/; revision=45708
2010-02-27 18:34:13 +00:00
Amine Khaldi 092583168e - Move more stuff to wdm.h
- FILE_OPEN_FOR_RECOVERY should be FILE_OPEN_REMOTE_INSTANCE

svn path=/branches/header-work/; revision=45705
2010-02-27 16:35:54 +00:00
Kai Tietz a61593425b Guard ANONYMOUS defines by __ANONYMOUS_DEFINED guard to prevent double definitions. Additional synchronize amount of DUMMYSTRUCTNAME defines.
svn path=/branches/header-work/; revision=45698
2010-02-27 14:43:32 +00:00
Timo Kreuzer 9ea495ba33 Create a branch for header work.
svn path=/branches/header-work/; revision=45691
2010-02-26 22:57:55 +00:00