pbBase (PVOID) - input
flag (ULONG) - input
This parameter consists of the following bit fields:
Bit
All of the pages spanned by the object must be initially uncommitted. If this bit is clear, the suballocation function assumes that all of the pages spanned by the memory pool are valid and committed.
For a DosSubSetMem(Grow) request, the setting of this bit should be the same as when the memory pool was initialized. Otherwise, an error is returned.
For shared memory pools, the first DosSubSetMem(Init or Serialize) request causes the memory pool to be created and opened for the requesting process.
Subsequent DosSubSetMem(Attach or Serialize) requests cause the shared memory pool to be attached to the requesting process. The requesting process must first gain access to the memory object that the pool resides in. DosSubSetMem(Attach) is indicated when bit 0 is off.
On a DosSubSetMem(Grow) request, bit 3 should be the same as when the memory pool was initialized, or an error is returned.
cb (ULONG) - input
If the size is not a multiple of 8 bytes, it is rounded down to a multiple of 8.
ulrc (APIRET) - returns
DosSubSetMem returns one of the following values: