ReactOS  0.4.15-dev-3217-gc6d1646
CrNtStubs.h
Go to the documentation of this file.
1 
5 
9 
11 BOOLEAN,
15  ),
16  (
17  SpinLock
18  ))
19 
20 #ifndef USE_REACTOS_DDK
21 
23 LONG,
27  ),
28  (
30  ))
31 
33 LONG,
37  ),
38  (
40  ))
41 
43 LONG,
48  ),
49  (
52  ))
53 
55 PVOID,
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 
77 CROSSNT_DECL_EX("HAL.DLL",
80 
81 CROSSNT_DECL_EX("HAL.DLL",
84 
85 CROSSNT_DECL_EX("NDIS.SYS",
87 __stdcall,
90  ),
91  (
92  Lock
93  ))
94 
95 CROSSNT_DECL_EX("NDIS.SYS",
96 VOID,
97 __stdcall,
100  IN BOOLEAN fWrite,
102  ),
103  (
104  Lock,
105  fWrite,
106  LockState
107  ))
108 
109 CROSSNT_DECL_EX("NDIS.SYS",
111 __stdcall,
115  ),
116  (
117  Lock,
118  LockState
119  ))
120 
#define IN
Definition: typedefs.h:39
IN OUT PLONG IN OUT PLONG Addend IN OUT PLONG IN LONG IN OUT PLONG IN LONG Increment KeRaiseIrqlToDpcLevel
Definition: CrNtStubs.h:67
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:99
__stdcall
Definition: CrNtStubs.h:7
#define InterlockedCompareExchange
Definition: interlocked.h:104
KSPIN_LOCK * PKSPIN_LOCK
Definition: env_spec_w32.h:73
IN OUT PLONG Addend
Definition: CrNtStubs.h:22
InterlockedIncrement
Definition: CrNtStubs.h:22
UCHAR KIRQL
Definition: env_spec_w32.h:591
long LONG
Definition: pedump.c:60
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:99
_Acquires_exclusive_lock_ Lock _In_ BOOLEAN fWrite
Definition: ndis.h:4586
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFSPINLOCK * SpinLock
Definition: wdfsync.h:225
unsigned char BOOLEAN
PsGetCurrentThreadId
Definition: CrNtStubs.h:7
BOOLEAN FASTCALL KeTestSpinLock(IN PKSPIN_LOCK SpinLock)
Definition: spinlock.c:475
_In_ PUNICODE_STRING _Inout_ PUNICODE_STRING Destination
Definition: rtlfuncs.h:2950
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 InterlockedExchangeAdd
Definition: CrNtStubs.h:42
#define InterlockedDecrement
Definition: armddk.h:52
CROSSNT_DECL(HANDLE, __stdcall, PsGetCurrentProcessId,(),()) CROSSNT_DECL(HANDLE
VOID EXPORT NdisAcquireReadWriteLock(IN PNDIS_RW_LOCK Lock, IN BOOLEAN fWrite, IN PLOCK_STATE LockState)
Definition: control.c:40
HANDLE NTAPI PsGetCurrentProcessId(VOID)
Definition: process.c:1123
IN OUT PLONG IN OUT PLONG Addend IN OUT PLONG IN LONG IN OUT PLONG IN LONG Increment NdisInitializeReadWriteLock
Definition: CrNtStubs.h:75
#define OUT
Definition: typedefs.h:40
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFWAITLOCK * Lock
Definition: wdfsync.h:124
__fastcall
Definition: CrNtStubs.h:22
IN OUT PLONG IN OUT PLONG Addend IN OUT PLONG IN LONG Increment
Definition: CrNtStubs.h:42
signed int * PLONG
Definition: retypes.h:5
#define DLL
Definition: serial_port.h:69
KIRQL NTAPI KeRaiseIrqlToSynchLevel(VOID)
Definition: pic.c:156