## Presentation Device Driver Reference for OS/2

[prev][next][parent][TOC]

### SSAllocMem - Parameters

pBaseAddress (PVOID) - input Pointer to a variable, which will receive the base address of the allocated memory.

ObjectSize (ULONG) - input Value that specifies the size in bytes of the shared memory to allocate. The size is rounded up to the next page boundary.

Flags (ULONG) - input Reserved.

Reserved. Must be 0.

rc (ULONG) - returns Return codes.

SSAllocMem returns a ULONG value:

NO_ERROR
ERROR_INVALID_PARAMETER
ERROR_NOT_ENOUGH_MEMORY.

Note: Other return codes listed under DosAllocSharedMem might also apply.