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>globalcompact</b> generates free global memory http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
GlobalCompact        Generates Free Global Memory

DWORD GlobalCompact(dwMinFree)
DWORD dwMinFree; /* Number of bytes desired or zero */

Returns:        Number of bytes in largest free block.

Note:           GlobalCompact will move blocks of memory (compact) and
                discard unlocked discardable blocks in its attempt to
                free the  desired amount of memory.

                If dwMinFree is 0, GlobalCompact returns block of memory
                that could be freed after discarding and moving.

See Also: GlobalAlloc GlobalDiscard GlobalFree GlobalLock GlobalUnlock

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