Initializes a memory pool for suballocation, or increases the size of a previously initialized memory pool.

#define INCL_DOSMEMMGR
#include <os2.h>

PVOID     pbBase;  /*  The address of the memory pool to be used for suballocation. */
ULONG     flag;    /*  Indicators describing the characteristics of the memory object that is being suballocated. */
ULONG     cb;      /*  The size, in bytes, of the memory pool. */
APIRET    ulrc;    /*  Return Code. */

ulrc = DosSubSetMem(pbBase, flag, cb);


[Back] [Next]