2004-10-15 Robert Wruck <wruck@tweerlei.de>
Danny Smith <dannysmith@users.sourceforge.net> = include/winbase.h (InitializeSListHead, Interlocked*): Guard with !__USE_NTOSKRNL__. * include/ddk/ntddk.h (__USE_NTOSKRNL__): Define. * include/ddk/winddk.h (InitializeSListHead, Interlocked*): Guard with __USE_NTOSKRNL__. (ExInterlockedPopEntrySList, ExInterlockedPushEntrySList): Add prototypes. Guard macro definition with __USE_NTOSKRNL__ && _WIN32_WINNT >= 0x0501 (ExAllocateFromNPagedLookasideList, ExAllocateFromPagedLookasideList, ExFreeToNPagedLookasideList, ExFreeToPagedLookasideList): Replace calts to InterlockedPopEntrySList, InterlockedPushEntrySList with ExInterlockedPopEntrySList, ExInterlockedPushEntrySList. * lib/ddk/ntosknl.def (ExInterlockedPopEntrySList, ExInterlockedPushEntrySList) Add stubs with fastcall decoration. (ExDesktopObjectType, ExEventObjectType, ExSemaphoreObjectType, ExWindowStationObjectType, IoAdapterObjectType, IoDeviceHandlerObjectSize, IoDeviceHandlerObjectType, IoDeviceObjectType, IoDriverObjectType, IoFileObjectType, LpcPortObjectType, MmSectionObjectType, SeTokenObjectType): Uncomment stubs.
This commit is contained in:
@ -19,9 +19,10 @@
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
* DEFINES:
|
||||
* DBG - Debugging enabled/disabled (0/1)
|
||||
* POOL_TAGGING - Enable pool tagging
|
||||
* _X86_ - X86 environment
|
||||
* DBG - Debugging enabled/disabled (0/1)
|
||||
* POOL_TAGGING - Enable pool tagging
|
||||
* _X86_ - X86 environment
|
||||
* __USE_NTOSKRNL__ - Use ntoskrnl.exe exports instead of kernel32.dll
|
||||
*/
|
||||
|
||||
#ifndef __NTDDK_H
|
||||
@ -31,6 +32,10 @@
|
||||
#pragma GCC system_header
|
||||
#endif
|
||||
|
||||
#ifndef __USE_NTOSKRNL__
|
||||
#define __USE_NTOSKRNL__ 1
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user