Update copyright for 2022
[pgsql.git] / src / include / port / win32ntdll.h
blobebfd2c1583e8e6bd6603d5c8c010f56800e20ec8
1 /*-------------------------------------------------------------------------
3 * win32ntdll.h
4 * Dynamically loaded Windows NT functions.
6 * Portions Copyright (c) 2021-2022, PostgreSQL Global Development Group
7 * Portions Copyright (c) 1994, Regents of the University of California
9 * src/include/port/win32ntdll.h
11 *-------------------------------------------------------------------------
15 * Because this includes NT headers that normally conflict with Win32 headers,
16 * any translation unit that includes it should #define UMDF_USING_NTSTATUS
17 * before including <windows.h>.
20 #include <ntstatus.h>
21 #include <winternl.h>
23 typedef NTSTATUS (__stdcall *RtlGetLastNtStatus_t) (void);
25 extern RtlGetLastNtStatus_t pg_RtlGetLastNtStatus;
27 extern int initialize_ntdll(void);