2 * Copyright (c) 2009, Red Hat, Inc.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * A copy of the GNU General Public License can be found at
19 #ifdef __MINGW64_VERSION_MAJOR
23 #define DDKAPI __stdcall
25 #include "ddk/ntapi.h"
26 #include "ddk/ntifs.h"
30 NTSTATUS DDKAPI
NtCreateFile (PHANDLE
, ACCESS_MASK
, POBJECT_ATTRIBUTES
,
31 PIO_STATUS_BLOCK
, PLARGE_INTEGER
, ULONG
, ULONG
,
32 ULONG
, ULONG
, PVOID
, ULONG
);
33 NTSTATUS DDKAPI
NtOpenFile (PHANDLE
, ACCESS_MASK
, POBJECT_ATTRIBUTES
,
34 PIO_STATUS_BLOCK
, ULONG
, ULONG
);
35 NTSTATUS DDKAPI
NtClose (HANDLE
);
36 NTSTATUS DDKAPI
NtQueryAttributesFile (POBJECT_ATTRIBUTES
,
37 PFILE_BASIC_INFORMATION
);
38 NTSTATUS DDKAPI
NtQueryInformationFile (HANDLE
, PIO_STATUS_BLOCK
, PVOID
,
39 ULONG
, FILE_INFORMATION_CLASS
);
40 NTSTATUS DDKAPI
NtSetInformationFile (HANDLE
, PIO_STATUS_BLOCK
, PVOID
, ULONG
,
41 FILE_INFORMATION_CLASS
);
42 ULONG NTAPI
RtlNtStatusToDosError (NTSTATUS
);
43 VOID NTAPI
RtlInitUnicodeString (PUNICODE_STRING
, PCWSTR
);
46 #endif /* SETUP_NTDLL_H */