-
Notifications
You must be signed in to change notification settings - Fork 0
/
pch.h
34 lines (25 loc) · 1.13 KB
/
pch.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// pch.h: This is a precompiled header file.
// Files listed below are compiled only once, improving build performance for future builds.
// This also affects IntelliSense performance, including code completion and many code browsing features.
// However, files listed here are ALL re-compiled if any one of them is updated between builds.
// Do not add files here that you will be updating frequently as this negates the performance advantage.
#ifndef PCH_H
#define PCH_H
// add headers that you want to pre-compile here
#include "framework.h"
#define NT_SUCCESS(Status) (((NTSTATUS)(Status)) >= 0)
#define STATUS_SUCCESS ((NTSTATUS)0x00000000L)
#include "xinput_defs.h"
#include "SKinHook/MinHook.h"
#include <Shlwapi.h>
#include <atlbase.h>
using CreateFile2_pfn =
HANDLE (WINAPI *)(LPCWSTR,DWORD,DWORD,DWORD,
LPCREATEFILE2_EXTENDED_PARAMETERS);
using CreateFileW_pfn =
HANDLE (WINAPI *)(LPCWSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES,
DWORD,DWORD,HANDLE);
using CreateFileA_pfn =
HANDLE (WINAPI *)(LPCSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES,
DWORD,DWORD,HANDLE);
#endif //PCH_H