ReactOS 0.4.15-dev-7924-g5949c20
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{
19 SET
21
22VOID
24 _In_ ALIGNMENT_PROBE_MODE ValidationMode,
25 _In_ ULONG InfoClassIndex,
26 _In_ PVOID InfoPointer,
27 _In_ ULONG InfoLength,
28 _In_ NTSTATUS ExpectedStatus);
29
30VOID
32 _In_ ALIGNMENT_PROBE_MODE ValidationMode,
33 _In_ ULONG InfoClassIndex,
34 _In_ PVOID InfoPointer,
35 _In_ ULONG InfoLength,
36 _In_ NTSTATUS ExpectedStatus);
37
38void
40 _In_ ULONG AnsiCode,
41 _In_ ULONG OemCode,
42 _In_ ULONG Unicode);
43
44#define ConvertPrivLongToLuid(PrivilegeVal, ConvertedPrivLuid) \
45do { \
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
_ALIGNMENT_PROBE_MODE
Definition: precomp.h:17
@ QUERY
Definition: precomp.h:18
@ SET
Definition: precomp.h:19
void SetupLocale(_In_ ULONG AnsiCode, _In_ ULONG OemCode, _In_ ULONG Unicode)
Definition: locale.c:58
VOID QuerySetThreadValidator(_In_ ALIGNMENT_PROBE_MODE ValidationMode, _In_ ULONG InfoClassIndex, _In_ PVOID InfoPointer, _In_ ULONG InfoLength, _In_ NTSTATUS ExpectedStatus)
Definition: probelib.c:210
VOID QuerySetProcessValidator(_In_ ALIGNMENT_PROBE_MODE ValidationMode, _In_ ULONG InfoClassIndex, _In_ PVOID InfoPointer, _In_ ULONG InfoLength, _In_ NTSTATUS ExpectedStatus)
Definition: probelib.c:12
enum _ALIGNMENT_PROBE_MODE ALIGNMENT_PROBE_MODE
#define _In_
Definition: ms_sal.h:308
uint32_t ULONG
Definition: typedefs.h:59