LocalAlloc(3w)

LocalAlloc3w

Usage

HLOCAL LocalAlloc
(
UINT flags,
SIZE_T size
)

Params

flags [In] Allocation attributes.

[In] Number of bytes to allocate.

Overview

Allocate a local memory object.

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".

Releases

5 releases since Debian 2.1 (Slink); the text changed 4 times.

  1. 2.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.