4 * Copyright 1993 Alexandre Julliard
17 #define USER_HEAP_ALLOC(f,size) LocalAlloc (f, size)
18 #define USER_HEAP_REALLOC(handle,size,f) LocalReAlloc (handle,size,f)
19 #define USER_HEAP_ADDR(handle) LocalLock (handle)
20 #define USER_HEAP_FREE(handle) LocalFree (handle)
23 extern MDESC
*USER_Heap
;
25 #define USER_HEAP_ALLOC(f,size) ((int)HEAP_Alloc(&USER_Heap,f,size) & 0xffff)
26 #define USER_HEAP_REALLOC(handle,size,f) ((int)HEAP_ReAlloc(&USER_Heap, \
27 USER_HEAP_ADDR(handle),size,f) & 0xffff)
28 #define USER_HEAP_ADDR(handle) ((void *)((handle)|((int)USER_Heap&0xffff0000)))
29 #define USER_HEAP_FREE(handle) (HEAP_Free(&USER_Heap,USER_HEAP_ADDR(handle)))