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.

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". https://source.winehq.org/source/include/winternl.h

Implemented in "dlls/ntdll/handletable.c". https://source.winehq.org/source/dlls/ntdll/handletable.c

Debug channel "ntdll".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Apr 2024.