ReactOS 0.4.15-dev-8339-g4028de8
CrNtStubs.h
Go to the documentation of this file.
1
5
9
15 ),
16 (
18 ))
19
20#ifndef USE_REACTOS_DDK
21
23LONG,
27 ),
28 (
30 ))
31
33LONG,
37 ),
38 (
40 ))
41
43LONG,
48 ),
49 (
52 ))
53
55PVOID,
59 IN PVOID ExChange,
60 IN PVOID Comperand
61 ),
62 (
64 IN PVOID ExChange,
65 IN PVOID Comperand
66 ))
67
68#else
69
70#define CrNtInterlockedIncrement InterlockedIncrement
71#define CrNtInterlockedDecrement InterlockedDecrement
72#define CrNtInterlockedExchangeAdd InterlockedExchangeAdd
73#define CrNtInterlockedCompareExchange InterlockedCompareExchange
74
75#endif // !USE_REACTOS_DDK
76
77CROSSNT_DECL_EX("HAL.DLL",
80
84
85CROSSNT_DECL_EX("NDIS.SYS",
90 ),
91 (
92 Lock
93 ))
94
95CROSSNT_DECL_EX("NDIS.SYS",
96VOID,
102 ),
103 (
104 Lock,
105 fWrite,
107 ))
108
109CROSSNT_DECL_EX("NDIS.SYS",
110VOID,
115 ),
116 (
117 Lock,
119 ))
120
unsigned char BOOLEAN
#define InterlockedDecrement
Definition: armddk.h:52
VOID EXPORT NdisAcquireReadWriteLock(IN PNDIS_RW_LOCK Lock, IN BOOLEAN fWrite, IN PLOCK_STATE LockState)
Definition: control.c:40
UCHAR KIRQL
Definition: env_spec_w32.h:591
KSPIN_LOCK * PKSPIN_LOCK
Definition: env_spec_w32.h:73
PsGetCurrentThreadId
Definition: CrNtStubs.h:8
IN OUT PLONG IN OUT PLONG Addend InterlockedExchangeAdd
Definition: CrNtStubs.h:43
IN OUT PLONG IN OUT PLONG Addend IN OUT PLONG IN LONG IN OUT PLONG IN LONG Increment NdisInitializeReadWriteLock
Definition: CrNtStubs.h:77
__fastcall
Definition: CrNtStubs.h:22
IN OUT PLONG IN OUT PLONG Addend IN OUT PLONG IN LONG IN OUT PLONG IN LONG Increment KeRaiseIrqlToDpcLevel
Definition: CrNtStubs.h:68
CROSSNT_DECL(HANDLE, __stdcall, PsGetCurrentProcessId,(),()) CROSSNT_DECL(HANDLE
IN OUT PLONG IN OUT PLONG Addend IN OUT PLONG IN LONG IN OUT PLONG IN LONG Increment IN PNDIS_RW_LOCK Lock IN PNDIS_RW_LOCK IN PLOCK_STATE LockState
Definition: CrNtStubs.h:104
__stdcall
Definition: CrNtStubs.h:7
InterlockedIncrement
Definition: CrNtStubs.h:23
IN OUT PLONG Addend
Definition: CrNtStubs.h:25
IN OUT PLONG IN OUT PLONG Addend IN OUT PLONG IN LONG IN OUT PLONG IN LONG Increment CROSSNT_DECL_EX("HAL.DLL", KIRQL, __stdcall, KeRaiseIrqlToSynchLevel,(),()) CROSSNT_DECL_EX("NDIS.SYS"
IN OUT PLONG IN OUT PLONG Addend IN OUT PLONG IN LONG IN OUT PLONG IN LONG Increment IN PNDIS_RW_LOCK Lock NdisReleaseReadWriteLock
Definition: CrNtStubs.h:101
IN OUT PLONG IN OUT PLONG Addend IN OUT PLONG IN LONG Increment
Definition: CrNtStubs.h:46
KIRQL NTAPI KeRaiseIrqlToSynchLevel(VOID)
Definition: pic.c:156
#define InterlockedCompareExchange
Definition: interlocked.h:104
_Acquires_exclusive_lock_ Lock _In_ BOOLEAN fWrite
Definition: ndis.h:4586
_In_ PUNICODE_STRING _Inout_ PUNICODE_STRING Destination
Definition: rtlfuncs.h:3016
BOOLEAN FASTCALL KeTestSpinLock(IN PKSPIN_LOCK SpinLock)
Definition: spinlock.c:475
HANDLE NTAPI PsGetCurrentProcessId(VOID)
Definition: process.c:1123
long LONG
Definition: pedump.c:60
#define IN
Definition: typedefs.h:39
int32_t * PLONG
Definition: typedefs.h:58
#define OUT
Definition: typedefs.h:40
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFSPINLOCK * SpinLock
Definition: wdfsync.h:228
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFWAITLOCK * Lock
Definition: wdfsync.h:127