## Printer Device Driver

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

### GplMemorySetUserID

Description

This function is optional, and it is helpful in debugging. You attach a pointer to the heap instance (like your pddc or pdb)-this extra pointer can then be viewed under the kernel debugger.

Format

    VOID APIENTRY GplMemorySetUserID( HMCB   hMCB,

                                      ULONG  ulUserID );

Parameters

hMCB (HMCB) Handle to memory control block.

ulUserID (ULONG) Pointer to something helpful.