RtlDestroyHandleTable.3w

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

NAME

RtlDestroyHandleTable (NTDLL.@)

SYNOPSIS

NTSTATUS RtlDestroyHandleTable
 (
  RTL_HANDLE_TABLE* HandleTable
 )

DESCRIPTION

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

Defined in "winternl.h".

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

Debug channel "ntdll".