1
0
mirror of https://gitea.tendokyu.moe/Hay1tsme/segatools.git synced 2024-09-24 02:58:21 +02:00
segatools-hay1tsme/precompiled.h

40 lines
864 B
C
Raw Normal View History

2018-11-24 00:24:41 +01:00
/*
Making NTSTATUS available is slightly awkward. See:
https://kirkshoop.github.io/2011/09/20/ntstatus.html
*/
2018-10-08 04:01:39 +02:00
/* Win32 user-mode API */
2018-11-24 00:24:41 +01:00
#define WIN32_NO_STATUS
2018-10-08 04:01:39 +02:00
#include <windows.h>
2018-11-24 00:24:41 +01:00
#undef WIN32_NO_STATUS
2018-10-08 04:01:39 +02:00
#include <winternl.h>
#include <setupapi.h>
#include <unknwn.h>
#include <windns.h>
#include <ws2tcpip.h>
#include <dinput.h>
2019-03-05 19:28:23 +01:00
#include <xinput.h>
2018-10-08 04:01:39 +02:00
#include <d3d9.h>
/* Win32 kernel-mode definitions */
2018-11-24 00:24:41 +01: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-08 04:01:39 +02:00
#include <ntdef.h>
2018-11-24 00:24:41 +01:00
#else
#include <winnt.h>
#endif
2018-10-08 04:01:39 +02:00
#include <devioctl.h>
2018-11-24 00:24:41 +01:00
#include <ntdddisk.h>
2018-10-08 04:01:39 +02:00
#include <ntddser.h>
2018-11-24 00:24:41 +01:00
#include <ntstatus.h>
2018-10-08 04:01:39 +02: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>