1
0
mirror of https://gitea.tendokyu.moe/Hay1tsme/segatools.git synced 2025-01-19 14:28:42 +01:00
segatools-hay1tsme/precompiled.h

38 lines
822 B
C
Raw Normal View History

2018-11-23 18:24:41 -05:00
/*
Making NTSTATUS available is slightly awkward. See:
https://kirkshoop.github.io/2011/09/20/ntstatus.html
*/
2018-10-07 22:01:39 -04:00
/* Win32 user-mode API */
2018-11-23 18:24:41 -05:00
#define WIN32_NO_STATUS
2018-10-07 22:01:39 -04:00
#include <windows.h>
2018-11-23 18:24:41 -05:00
#undef WIN32_NO_STATUS
2018-10-07 22:01:39 -04:00
#include <winternl.h>
#include <setupapi.h>
#include <unknwn.h>
#include <dinput.h>
2019-03-05 13:28:23 -05:00
#include <xinput.h>
2018-10-07 22:01:39 -04:00
#include <d3d9.h>
/* Win32 kernel-mode definitions */
2018-11-23 18:24:41 -05:00
#ifdef __GNUC__
/* MinGW needs to include this for PHYSICAL_ADDRESS to be defined.
The MS SDK throws a bunch of duplicate symbol errors instead. */
2018-10-07 22:01:39 -04:00
#include <ntdef.h>
2018-11-23 18:24:41 -05:00
#else
#include <winnt.h>
#endif
2018-10-07 22:01:39 -04:00
#include <devioctl.h>
2018-11-23 18:24:41 -05:00
#include <ntdddisk.h>
2018-10-07 22:01:39 -04:00
#include <ntddser.h>
2018-11-23 18:24:41 -05:00
#include <ntstatus.h>
2018-10-07 22:01:39 -04:00
#include <assert.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <wchar.h>