Scroll to navigation

GlobalAlloc(3w) Wine API GlobalAlloc(3w)

NAME

GlobalAlloc (KERNEL32.@)

SYNOPSIS

HGLOBAL GlobalAlloc
(
UINT flags,
SIZE_T size
)
 

PARAMS

flags [In] Object allocation attributes.
[In] Number of bytes to allocate.
 

DESCRIPTION

Allocate a global memory object.
 

RETURNS

Handle: Success
NULL: Failure
 

IMPLEMENTATION

Declared in "winbase.h".
Implemented in "dlls/kernel32/heap.c".
Debug channel "heap".
Oct 2012 Wine API