blob: c97abda723288d6d4eb7eca8d61fa159c18ce60b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#pragma once
#include <al/types.h>
#define _WINSOCK_DEPRECATED_NO_WARNINGS
// https://kirkshoop.github.io/2011/09/20/ntstatus.html
#include <winsock2.h>
#include <ws2tcpip.h>
#include <io.h>
#define WIN32_NO_STATUS
#include <windows.h>
#undef WIN32_NO_STATUS
#include <winternl.h>
#include <ntstatus.h>
extern NTSTATUS(__stdcall *NtDelayExecution)(BOOL Alertable, PLARGE_INTEGER DelayInterval);
extern LARGE_INTEGER performance_frequency;
bool nn_windows_init(void);
void nn_windows_close(void);
|