home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
viscobv6.zip
/
vac22os2
/
ibmcobol
/
samples
/
toolkit
/
mm
/
cdmcidrv
/
hhpheap.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-11-19
|
2KB
|
57 lines
/********************** START OF SPECIFICATIONS *****************************/
/* */
/* SOURCE FILE NAME: HHPHEAP.H */
/* */
/* DESCRIPTIVE NAME: Heap manager include file. */
/* */
/* COPYRIGHT: */
/* Copyright (c) IBM Corporation 1991 - 1993 */
/* All Rights Reserved */
/* */
/* ABSTRACT: Contains data structures and prototypes that are used in */
/* HHP API's. */
/* */
/*********************** END OF SPECIFICATIONS ******************************/
#ifndef _HHPHEAP_H_
#define _HHPHEAP_H_
typedef PVOID HHUGEHEAP;
HHUGEHEAP APIENTRY HhpCreateHeap( ULONG uInitSize,
USHORT fFlags );
PVOID APIENTRY HhpAllocMem( HHUGEHEAP hheap,
ULONG cbLen );
BOOL APIENTRY HhpFreeMem( HHUGEHEAP hheap,
PVOID pData );
BOOL APIENTRY HhpDestroyHeap( HHUGEHEAP hheap );
/* Shared Heap Support */
USHORT APIENTRY HhpAccessHeap( HHUGEHEAP hheap,
PID pid );
USHORT APIENTRY HhpReleaseHeap( HHUGEHEAP hheap,
PID pid );
PID APIENTRY HhpGetPID( VOID );
/* Low-Level Independent (Not Suballocated) Buffer Support */
PBYTE APIENTRY HhpAllocBuffer( ULONG lSize,
USHORT fFlags );
USHORT APIENTRY HhpFreeBuffer( PBYTE pBuffer );
USHORT APIENTRY HhpAccessBuffer( PBYTE pBuffer );
#define HH_SHARED 0x1 /* Cause the Heap to be Shared */
USHORT APIENTRY HhpDumpHeap( HHUGEHEAP hheap );
#endif /* _HHPHEAP_H_ */