Reference

GlobalSize(3w)

NAME

GlobalSize (KERNEL32.@)

SYNOPSIS

SIZE_T GlobalSize
(
HGLOBAL hmem
)

DESCRIPTION

Get the size of a global memory object.

PARAMS

hmem [In] Handle of the global memory object.

RETURNS

Failure: 0

Success: Size in Bytes of the global memory object.

NOTES

When the handle is invalid, last error is set to ERROR_INVALID_HANDLE

IMPLEMENTATION

Declared in "winbase.h".

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

Debug channel "heap".

History