## Printer Device Driver

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

### GplMemoryFree

Description

This function frees memory for a user.

Format

    APIRET APIENTRY GplMemoryFree( PVOID  pData );

Parameter

pData (PVOID) Pointer to memory allocated.

Returns

Success NO_ERROR.
Failure ERROR_INVALID_PARA
or return values from:
SSFreeMem
DosFreeMem
DosSubFreeMem
WinGetLastError() returns one of the following:
PM_INV_OR_INCOMPAT_OPTIONS
PMERR_MEMORY_DEALLOCATION_ERR