From e9c8cb31930bd203942b326443e2112c1babf9a1 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 9 Mar 2006 09:01:08 +0000 Subject: * autoload.cc (NtClose): Define. (NtOpenDirectoryObject): Define. (NtQueryDirectoryObject): Define. * fhandler_proc.cc: Include ctype.h and wchar.h. (format_proc_partitions): Revamp loop over existing harddisks by scanning the NT native \Device object directory and looking for Harddisk entries. * ntdll.h: Rearrange system call declarations alphabetically. (DIRECTORY_QUERY): Define. (struct _DIRECTORY_BASIC_INFORMATION): Define. (NtOpenDirectoryObject): Declare. (NtQueryDirectoryObject): Declare. --- winsup/cygwin/autoload.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'winsup/cygwin/autoload.cc') diff --git a/winsup/cygwin/autoload.cc b/winsup/cygwin/autoload.cc index 548b4ab13..6b889a946 100644 --- a/winsup/cygwin/autoload.cc +++ b/winsup/cygwin/autoload.cc @@ -378,13 +378,16 @@ LoadDLLfunc (NetUserGetGroups, 28, netapi32) LoadDLLfunc (NetUserGetInfo, 16, netapi32) LoadDLLfunc (NetWkstaUserGetInfo, 12, netapi32) +LoadDLLfuncEx (NtClose, 4, ntdll, 1) LoadDLLfuncEx (NtCreateFile, 44, ntdll, 1) LoadDLLfuncEx (NtCreateSection, 28, ntdll, 1) LoadDLLfuncEx (NtCreateToken, 52, ntdll, 1) LoadDLLfuncEx (NtLockVirtualMemory, 16, ntdll, 1) LoadDLLfuncEx (NtMapViewOfSection, 40, ntdll, 1) +LoadDLLfuncEx (NtOpenDirectoryObject, 12, ntdll, 1) LoadDLLfuncEx (NtOpenFile, 24, ntdll, 1) LoadDLLfuncEx (NtOpenSection, 12, ntdll, 1) +LoadDLLfuncEx (NtQueryDirectoryObject, 28, ntdll, 1) LoadDLLfuncEx2 (NtQueryDirectoryFile, 44, ntdll, 1, 1) LoadDLLfuncEx2 (NtQueryInformationFile, 20, ntdll, 1, 1) LoadDLLfuncEx (NtQueryInformationProcess, 20, ntdll, 1) -- cgit v1.2.3