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 */
16 typedef enum _ALIGNMENT_PROBE_MODE
17 {
18     QUERY,
19     SET
20 } ALIGNMENT_PROBE_MODE;
21 
22 VOID
23 QuerySetProcessValidator(
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
31 QuerySetThreadValidator(
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
39 SetupLocale(
40     _In_ ULONG AnsiCode,
41     _In_ ULONG OemCode,
42     _In_ ULONG Unicode);
43 
44 #endif /* _NTDLL_APITEST_PRECOMP_H_ */
45