RtlDestroyHandleTable(3w)

RtlDestroyHandleTable3w

Usage

NTSTATUS RtlDestroyHandleTable
(
RTL_HANDLE_TABLE* HandleTable
)

Overview

Destroys a handle table and frees associated resources.

Params

HandleTable [In] The handle table.

Returns

Any status code returned by NtFreeVirtualMemory(3w).

Notes

The native version of this Api doesn't free the virtual memory that has been previously reserved, only the committed memory. There is no harm in also freeing the reserved memory because it won't have been handed out to any callers. I believe it is "more polite" to free everything.

See

RtlInitializeHandleTable().

Implementation

Declared in "winternl.h".

Implemented in "dlls/ntdll/handletable.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.