Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Win 2 API - <b>localalloc</b> allocate memory from local heap http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
LocalAlloc           Allocate Memory From Local Heap

HANDLE LocalAlloc(wFlags, wBytesRequested)
WORD wFlags; /* See below */
WORD wBytesRequested;


             wFlags
        |------------------|
        | LMEM_DISCARDABLE |
        | LMEM_MODIFY      |
        | LMEM_FIXED       |
        | LMEM_MOVEABLE    |
        | LMEM_NOCOMPACT   |
        | LMEM_NODISCARD   |
        | LMEM_ZEROINIT    |
        +------------------+

Returns:    Handle to local memory otherwise NULL.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson