|
|
Microsoft OS/2 SDK 2.0 05-30-1990
/* Heap Manager Interface declarations */
#ifdef INCL_WINHEAP
#ifndef INCL_SAADEFS
typedef LHANDLE HHEAP;
/*
** These are declarations for local routines that take the place
** of routines not extant in the 32-bit PM APIs. It was easier to
** write substitutes than change all the code that uses them
*/
HHEAP WinCreateHeap(PBYTE pbHeapBase, ULONG cbHeap, ULONG cbGrow,
ULONG chMinDed, ULONG cbMaxDed, ULONG fOptions);
HHEAP WinDestroyHeap(HHEAP hHeap);
ULONG WinAvailMem(HHEAP hHeap, BOOL fCompact, ULONG cbMinFree);
PBYTE WinAllocMem(HHEAP hHeap, ULONG cb);
PBYTE WinReallocMem(HHEAP hHeap, PBYTE pMem, ULONG cbOld, ULONG cbNew);
PBYTE WinFreeMem(HHEAP hHeap, PBYTE pMem, ULONG cbMem);
PVOID WinLockHeap(HHEAP hHeap);
#define HM_MOVEABLE 0x0001 /* Parameters to WinCreateHeap */
#define HM_VALIDSIZE 0x0002
#endif /* !INCL_SAADEFS */
#define MEMFLAGS (PAG_COMMIT | PAG_READ | PAG_WRITE)
#endif /* INCL_WINHEAP */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.