Reference

GlobalReAlloc(3w)

NAME

GlobalReAlloc (KERNEL32.@)

SYNOPSIS

HGLOBAL GlobalReAlloc
(
HGLOBAL hmem,
SIZE_T size,
UINT flags
)

PARAMS

hmem [In] Handle of global memory object.

size [In] New size of block.

[In] How to reallocate object.

DESCRIPTION

Change the size or attributes of a global memory object.

RETURNS

Handle: Success

NULL: Failure

IMPLEMENTATION

Declared in "winbase.h".

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

Debug channel "heap".

History