## Printer Device Driver

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

### GplMemoryDeleteInstance

Description

This function frees memory heap(s) for the user.

Format

    APIRET APIENTRY GplMemoryDeleteInstance( HMCB  hMCB );

Parameter

hMCB (HMCB) Pointer to memory allocated.

Returns

Success NO_ERROR.
Returns valid handle to memory control block.
Failure ERROR_INVALID_PARA
or return values from:
SSFreeMem
DosFreeMem
DosSubUnsetMem
WinGetLastError() returns one of the following:
PM_INV_OR_INCOMPAT_OPTIONS
PMERR_MEMORY_DEALLOCATION_ERR