Fix NtQueryDirectoryObject prototype, documentation, and the
definition of the structure it uses.
This commit is contained in:
parent
d7d8998d1e
commit
ce08973ffa
|
@ -393,31 +393,26 @@ NTSTATUS WINAPI NtCreateDirectoryObject(
|
||||||
* Read information from a namespace directory.
|
* Read information from a namespace directory.
|
||||||
*
|
*
|
||||||
* PARAMS
|
* PARAMS
|
||||||
* DirObjHandle [I] Object handle
|
* DirectoryHandle [I] Handle to a directory object
|
||||||
* DirObjInformation [O] Buffer to hold the data read
|
* Buffer [O] Buffer to hold the read data
|
||||||
* BufferLength [I] Size of the buffer in bytes
|
* BufferLength [I] Size of the buffer in bytes
|
||||||
* GetNextIndex [I] Set ObjectIndex to TRUE=next object, FALSE=last object
|
* ReturnSingleEntry [I] If TRUE, return a single entry, if FALSE, return as many as fit in the buffer
|
||||||
* IgnoreInputIndex [I] Start reading at index TRUE=0, FALSE=ObjectIndex
|
* RestartScan [I] If TRUE, start scanning from the start, if FALSE, scan from Context
|
||||||
* ObjectIndex [I/O] 0 based index into the directory, see IgnoreInputIndex and GetNextIndex
|
* Context [I/O] Indicates what point of the directory the scan is at
|
||||||
* DataWritten [O] Caller supplied storage for the number of bytes written (or NULL)
|
* ReturnLength [O] Caller supplied storage for the number of bytes written (or NULL)
|
||||||
*
|
*
|
||||||
* RETURNS
|
* RETURNS
|
||||||
* Success: ERROR_SUCCESS.
|
* Success: ERROR_SUCCESS.
|
||||||
* Failure: An NTSTATUS error code.
|
* Failure: An NTSTATUS error code.
|
||||||
*/
|
*/
|
||||||
NTSTATUS WINAPI NtQueryDirectoryObject(
|
NTSTATUS WINAPI NtQueryDirectoryObject(IN HANDLE DirectoryHandle, OUT PDIRECTORY_BASIC_INFORMATION Buffer,
|
||||||
IN HANDLE DirObjHandle,
|
IN ULONG BufferLength, IN BOOLEAN ReturnSingleEntry, IN BOOLEAN RestartScan,
|
||||||
OUT POBJDIR_INFORMATION DirObjInformation,
|
IN OUT PULONG Context, OUT PULONG ReturnLength OPTIONAL)
|
||||||
IN ULONG BufferLength,
|
|
||||||
IN BOOLEAN GetNextIndex,
|
|
||||||
IN BOOLEAN IgnoreInputIndex,
|
|
||||||
IN OUT PULONG ObjectIndex,
|
|
||||||
OUT PULONG DataWritten OPTIONAL)
|
|
||||||
{
|
{
|
||||||
FIXME("(%p,%p,0x%08lx,0x%08x,0x%08x,%p,%p) stub\n",
|
FIXME("(%p,%p,0x%08lx,0x%08x,0x%08x,%p,%p), stub\n", DirectoryHandle, Buffer, BufferLength, ReturnSingleEntry,
|
||||||
DirObjHandle, DirObjInformation, BufferLength, GetNextIndex,
|
RestartScan, Context, ReturnLength);
|
||||||
IgnoreInputIndex, ObjectIndex, DataWritten);
|
|
||||||
return 0xc0000000; /* We don't have any. Whatever. (Yet.) */
|
return STATUS_NOT_IMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -1629,11 +1629,10 @@ typedef enum _KPROFILE_SOURCE {
|
||||||
ProfileMaximum
|
ProfileMaximum
|
||||||
} KPROFILE_SOURCE, *PKPROFILE_SOURCE;
|
} KPROFILE_SOURCE, *PKPROFILE_SOURCE;
|
||||||
|
|
||||||
typedef struct _OBJDIR_INFORMATION {
|
typedef struct _DIRECTORY_BASIC_INFORMATION {
|
||||||
UNICODE_STRING ObjectName;
|
UNICODE_STRING ObjectName;
|
||||||
UNICODE_STRING ObjectTypeName;
|
UNICODE_STRING ObjectTypeName;
|
||||||
BYTE Data[1];
|
} DIRECTORY_BASIC_INFORMATION, *PDIRECTORY_BASIC_INFORMATION;
|
||||||
} OBJDIR_INFORMATION, *POBJDIR_INFORMATION;
|
|
||||||
|
|
||||||
typedef struct _INITIAL_TEB {
|
typedef struct _INITIAL_TEB {
|
||||||
PVOID StackBase;
|
PVOID StackBase;
|
||||||
|
@ -1811,7 +1810,7 @@ NTSTATUS WINAPI NtQueryAttributesFile(const OBJECT_ATTRIBUTES*,FILE_BASIC_INFOR
|
||||||
NTSTATUS WINAPI NtQueryDefaultLocale(BOOLEAN,LCID*);
|
NTSTATUS WINAPI NtQueryDefaultLocale(BOOLEAN,LCID*);
|
||||||
NTSTATUS WINAPI NtQueryDefaultUILanguage(LANGID*);
|
NTSTATUS WINAPI NtQueryDefaultUILanguage(LANGID*);
|
||||||
NTSTATUS WINAPI NtQueryDirectoryFile(HANDLE,HANDLE,PIO_APC_ROUTINE,PVOID,PIO_STATUS_BLOCK,PVOID,ULONG,FILE_INFORMATION_CLASS,BOOLEAN,PUNICODE_STRING,BOOLEAN);
|
NTSTATUS WINAPI NtQueryDirectoryFile(HANDLE,HANDLE,PIO_APC_ROUTINE,PVOID,PIO_STATUS_BLOCK,PVOID,ULONG,FILE_INFORMATION_CLASS,BOOLEAN,PUNICODE_STRING,BOOLEAN);
|
||||||
NTSTATUS WINAPI NtQueryDirectoryObject(HANDLE,POBJDIR_INFORMATION,ULONG,BOOLEAN,BOOLEAN,PULONG,PULONG);
|
NTSTATUS WINAPI NtQueryDirectoryObject(HANDLE,PDIRECTORY_BASIC_INFORMATION,ULONG,BOOLEAN,BOOLEAN,PULONG,PULONG);
|
||||||
NTSTATUS WINAPI NtQueryEaFile(HANDLE,PIO_STATUS_BLOCK,PVOID,ULONG,BOOLEAN,PVOID,ULONG,PVOID,BOOLEAN);
|
NTSTATUS WINAPI NtQueryEaFile(HANDLE,PIO_STATUS_BLOCK,PVOID,ULONG,BOOLEAN,PVOID,ULONG,PVOID,BOOLEAN);
|
||||||
NTSTATUS WINAPI NtQueryEvent(HANDLE,EVENT_INFORMATION_CLASS,PVOID,ULONG,PULONG);
|
NTSTATUS WINAPI NtQueryEvent(HANDLE,EVENT_INFORMATION_CLASS,PVOID,ULONG,PULONG);
|
||||||
NTSTATUS WINAPI NtQueryFullAttributesFile(const OBJECT_ATTRIBUTES*,FILE_NETWORK_OPEN_INFORMATION*);
|
NTSTATUS WINAPI NtQueryFullAttributesFile(const OBJECT_ATTRIBUTES*,FILE_NETWORK_OPEN_INFORMATION*);
|
||||||
|
|
Loading…
Reference in New Issue