NtQueryDirectoryObject.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

NtQueryDirectoryObject (NTDLL.@)

SYNOPSIS

NTSTATUS NtQueryDirectoryObject
 (
  HANDLE                       handle,
  PDIRECTORY_BASIC_INFORMATION buffer,
  ULONG                        size,
  BOOLEAN                      single_entry,
  BOOLEAN                      restart,
  PULONG                       context,
  PULONG                       ret_size
 )

DESCRIPTION

Read information from a namespace directory.

PARAMS

handle [In] Handle to a directory object.

buffer [Out] Buffer to hold the read data.

size [In] Size of the buffer in bytes.

single_entry [In] If TRUE, return a single entry, if FALSE, return as many as fit in the buffer.

restart [In] If TRUE, start scanning from the start, if FALSE, scan from Context.

context [In/Out] Indicates what point of the directory the scan is at.

ret_size [Out] Caller supplied storage for the number of bytes written (or NULL).

RETURNS

Success: ERROR_SUCCESS.

Failure: An NTSTATUS error code.

IMPLEMENTATION

Defined in "winternl.h".

Implemented in "dlls/ntdll/om.c".

Debug channel "ntdll".