segatools/precompiled.h

35 lines
763 B
C
Raw Normal View History

2018-11-23 23:24:41 +00:00
/*
Making NTSTATUS available is slightly awkward. See:
https://kirkshoop.github.io/2011/09/20/ntstatus.html
*/
2018-10-08 02:01:39 +00:00
/* Win32 user-mode API */
2018-11-23 23:24:41 +00:00
#define WIN32_NO_STATUS
2018-10-08 02:01:39 +00:00
#include <windows.h>
2018-11-23 23:24:41 +00:00
#undef WIN32_NO_STATUS
2018-10-08 02:01:39 +00:00
#include <winternl.h>
#include <setupapi.h>
#include <unknwn.h>
#include <d3d9.h>
/* Win32 kernel-mode definitions */
2018-11-23 23:24:41 +00: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 02:01:39 +00:00
#include <ntdef.h>
2018-11-23 23:24:41 +00:00
#else
#include <winnt.h>
#endif
2018-10-08 02:01:39 +00:00
#include <devioctl.h>
2018-11-23 23:24:41 +00:00
#include <ntdddisk.h>
2018-10-08 02:01:39 +00:00
#include <ntddser.h>
2018-11-23 23:24:41 +00:00
#include <ntstatus.h>
2018-10-08 02:01:39 +00:00
#include <assert.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>