]> cygwin.com Git - cygwin-apps/setup.git/blame - ntdll.h
* Makefile.am: Treat libgetopt++ as full-fledged SUBDIRS.
[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
17#include "ddk/ntapi.h"
d2e8d256 18#include "ddk/ntifs.h"
6dcfeb7d
CV
19
20extern "C" {
21NTSTATUS DDKAPI NtCreateFile (PHANDLE, ACCESS_MASK, POBJECT_ATTRIBUTES,
22 PIO_STATUS_BLOCK, PLARGE_INTEGER, ULONG, ULONG,
23 ULONG, ULONG, PVOID, ULONG);
24NTSTATUS DDKAPI NtOpenFile (PHANDLE, ACCESS_MASK, POBJECT_ATTRIBUTES,
25 PIO_STATUS_BLOCK, ULONG, ULONG);
26NTSTATUS DDKAPI NtClose (HANDLE);
27NTSTATUS DDKAPI NtQueryAttributesFile (POBJECT_ATTRIBUTES,
28 PFILE_BASIC_INFORMATION);
29NTSTATUS DDKAPI NtQueryInformationFile (HANDLE, PIO_STATUS_BLOCK, PVOID,
30 ULONG, FILE_INFORMATION_CLASS);
31NTSTATUS DDKAPI NtSetInformationFile (HANDLE, PIO_STATUS_BLOCK, PVOID, ULONG,
32 FILE_INFORMATION_CLASS);
33ULONG NTAPI RtlNtStatusToDosError (NTSTATUS);
34VOID NTAPI RtlInitUnicodeString (PUNICODE_STRING, PCWSTR);
35};
36
37#endif /* SETUP_NTDLL_H */
This page took 0.025228 seconds and 5 git commands to generate.