NtQueryDirectoryObject(3w)

NtQueryDirectoryObject3w

Usage

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

Overview

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

Declared in "winternl.h".

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

Debug channel "ntdll".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.