ReactOS  0.4.15-dev-3308-g9455def
precomp.h
Go to the documentation of this file.
1 #ifndef _NTDLL_APITEST_PRECOMP_H_
2 #define _NTDLL_APITEST_PRECOMP_H_
3 
4 #include <stdio.h>
5 
6 #define WIN32_NO_STATUS
7 #define _INC_WINDOWS
8 #define COM_NO_WINDOWS_H
9 
10 #include <apitest.h>
11 #include <apitest_guard.h>
12 #include <ndk/ntndk.h>
13 #include <strsafe.h>
14 
15 /* probelib.c */
17 {
21 
22 VOID
24  _In_ ALIGNMENT_PROBE_MODE ValidationMode,
25  _In_ ULONG InfoClassIndex,
26  _In_ PVOID InfoPointer,
27  _In_ ULONG InfoLength,
28  _In_ NTSTATUS ExpectedStatus);
29 
30 VOID
32  _In_ ALIGNMENT_PROBE_MODE ValidationMode,
33  _In_ ULONG InfoClassIndex,
34  _In_ PVOID InfoPointer,
35  _In_ ULONG InfoLength,
36  _In_ NTSTATUS ExpectedStatus);
37 
38 void
40  _In_ ULONG AnsiCode,
41  _In_ ULONG OemCode,
42  _In_ ULONG Unicode);
43 
44 #define ConvertPrivLongToLuid(PrivilegeVal, ConvertedPrivLuid) \
45 do { \
46  LUID Luid; \
47  Luid.LowPart = PrivilegeVal; \
48  Luid.HighPart = 0; \
49  *ConvertedPrivLuid = Luid; \
50 } while (0)
51 
52 #endif /* _NTDLL_APITEST_PRECOMP_H_ */
LONG NTSTATUS
Definition: precomp.h:26
enum _ALIGNMENT_PROBE_MODE ALIGNMENT_PROBE_MODE
_ALIGNMENT_PROBE_MODE
Definition: precomp.h:16
#define _In_
Definition: ms_sal.h:308
VOID QuerySetProcessValidator(_In_ ALIGNMENT_PROBE_MODE ValidationMode, _In_ ULONG InfoClassIndex, _In_ PVOID InfoPointer, _In_ ULONG InfoLength, _In_ NTSTATUS ExpectedStatus)
Definition: probelib.c:12
VOID QuerySetThreadValidator(_In_ ALIGNMENT_PROBE_MODE ValidationMode, _In_ ULONG InfoClassIndex, _In_ PVOID InfoPointer, _In_ ULONG InfoLength, _In_ NTSTATUS ExpectedStatus)
Definition: probelib.c:189
void SetupLocale(_In_ ULONG AnsiCode, _In_ ULONG OemCode, _In_ ULONG Unicode)
Definition: locale.c:58
Definition: precomp.h:19
unsigned int ULONG
Definition: retypes.h:1
Definition: precomp.h:18