mirror of
https://github.com/reactos/reactos.git
synced 2025-04-04 04:26:32 +00:00
[NDK]
- Remove Resource functions, as they are in wdm.h - add KeTryToAcquireQueuedSpinLockRaiseToSynch, ExRaiseHardError & enum members Patch by Thomas Faber svn path=/trunk/; revision=52847
This commit is contained in:
parent
5b8793626d
commit
d040534b02
4 changed files with 21 additions and 23 deletions
|
@ -114,30 +114,17 @@ ExEnumHandleTable(
|
|||
);
|
||||
|
||||
//
|
||||
// Resource Functions
|
||||
// HardError Functions
|
||||
//
|
||||
PVOID
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
ExEnterCriticalRegionAndAcquireResourceExclusive(
|
||||
IN PERESOURCE Resource
|
||||
);
|
||||
|
||||
PVOID
|
||||
NTAPI
|
||||
ExEnterCriticalRegionAndAcquireResourceShared(
|
||||
IN PERESOURCE Resource
|
||||
);
|
||||
|
||||
PVOID
|
||||
NTAPI
|
||||
ExEnterCriticalRegionAndAcquireSharedWaitForExclusive(
|
||||
IN PERESOURCE Resource
|
||||
);
|
||||
|
||||
VOID
|
||||
FASTCALL
|
||||
ExReleaseResourceAndLeaveCriticalRegion(
|
||||
IN PERESOURCE Resource
|
||||
ExRaiseHardError(
|
||||
IN NTSTATUS ErrorStatus,
|
||||
IN ULONG NumberOfParameters,
|
||||
IN ULONG UnicodeStringParameterMask,
|
||||
IN PULONG_PTR Parameters,
|
||||
IN ULONG ValidResponseOptions,
|
||||
OUT PULONG Response
|
||||
);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -175,7 +175,9 @@ typedef enum _HARDERROR_RESPONSE_OPTION
|
|||
OptionRetryCancel,
|
||||
OptionYesNo,
|
||||
OptionYesNoCancel,
|
||||
OptionShutdownSystem
|
||||
OptionShutdownSystem,
|
||||
OptionOkNoWait,
|
||||
OptionCancelTryContinue
|
||||
} HARDERROR_RESPONSE_OPTION, *PHARDERROR_RESPONSE_OPTION;
|
||||
|
||||
typedef enum _HARDERROR_RESPONSE
|
||||
|
|
|
@ -126,6 +126,13 @@ KeAcquireQueuedSpinLockRaiseToSynch(
|
|||
IN KSPIN_LOCK_QUEUE_NUMBER LockNumber
|
||||
);
|
||||
|
||||
BOOLEAN
|
||||
FASTCALL
|
||||
KeTryToAcquireQueuedSpinLockRaiseToSynch(
|
||||
IN KSPIN_LOCK_QUEUE_NUMBER LockNumber,
|
||||
IN PKIRQL OldIrql
|
||||
);
|
||||
|
||||
VOID
|
||||
FASTCALL
|
||||
KeAcquireInStackQueuedSpinLockRaiseToSynch(
|
||||
|
|
|
@ -13,6 +13,8 @@
|
|||
#define _NO_COM
|
||||
|
||||
/* DDK/NDK/SDK Headers */
|
||||
#undef NTDDI_VERSION
|
||||
#define NTDDI_VERSION NTDDI_WS03SP1
|
||||
#include <ntddk.h>
|
||||
#include <ntddmou.h>
|
||||
#include <ntifs.h>
|
||||
|
|
Loading…
Reference in a new issue