Reference

LocalHandle(3w)

NAME

LocalHandle (KERNEL32.@)

SYNOPSIS

HLOCAL LocalHandle
(
LPCVOID ptr
)

PARAMS

[In] Address of local memory block.

DESCRIPTION

Get the handle associated with the pointer to a local memory block.

RETURNS

Handle: Success

NULL: Failure.

NOTES

Windows memory management does not provide a separate local heap and global heap.

IMPLEMENTATION

Declared in "winbase.h".

Implemented in "dlls/kernel32/heap.c".

Debug channel "heap".

History