]> cygwin.com Git - cygwin-apps/setup.git/blame - ntdll.h
Increase buffer size in LogPrintf adaptors
[cygwin-apps/setup.git] / ntdll.h
CommitLineData
6dcfeb7d
CV
1/*
2 * Copyright (c) 2009, Red Hat, Inc.
3 *
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.
8 *
9 * A copy of the GNU General Public License can be found at
10 * http://www.gnu.org/
11 *
12 */
13
14#ifndef SETUP_NTDLL_H
15#define SETUP_NTDLL_H
16
10b2d051
YS
17#define NTOSAPI
18
af67048a
YS
19#ifdef __MINGW64_VERSION_MAJOR
20#include <winternl.h>
21#include <ntdef.h>
22#include <ntstatus.h>
23#define DDKAPI __stdcall
24#else
6dcfeb7d 25#include "ddk/ntapi.h"
d2e8d256 26#include "ddk/ntifs.h"
af67048a 27#endif
6dcfeb7d
CV
28
29extern "C" {
30NTSTATUS DDKAPI NtCreateFile (PHANDLE, ACCESS_MASK, POBJECT_ATTRIBUTES,
31 PIO_STATUS_BLOCK, PLARGE_INTEGER, ULONG, ULONG,
32 ULONG, ULONG, PVOID, ULONG);
33NTSTATUS DDKAPI NtOpenFile (PHANDLE, ACCESS_MASK, POBJECT_ATTRIBUTES,
34 PIO_STATUS_BLOCK, ULONG, ULONG);
35NTSTATUS DDKAPI NtClose (HANDLE);
36NTSTATUS DDKAPI NtQueryAttributesFile (POBJECT_ATTRIBUTES,
37 PFILE_BASIC_INFORMATION);
38NTSTATUS DDKAPI NtQueryInformationFile (HANDLE, PIO_STATUS_BLOCK, PVOID,
39 ULONG, FILE_INFORMATION_CLASS);
40NTSTATUS DDKAPI NtSetInformationFile (HANDLE, PIO_STATUS_BLOCK, PVOID, ULONG,
41 FILE_INFORMATION_CLASS);
42ULONG NTAPI RtlNtStatusToDosError (NTSTATUS);
43VOID NTAPI RtlInitUnicodeString (PUNICODE_STRING, PCWSTR);
44};
45
46#endif /* SETUP_NTDLL_H */
This page took 0.074766 seconds and 5 git commands to generate.