## Printer Device Driver

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

### GplThreadEnd

Description

This function frees up any resources allocated by the thread instance ( semaphores and data buffers). A call to this function implies that any remaining data buffers are flushed before the return of this call. This call is the logical pair to GplThreadCreate, which allocates system resources.

Format

    BOOL APIENTRY GplThreadEnd( HTHREAD  hThread );

Parameter

hThread (HTHREAD) Handle to thread instance.

Returns

Success TRUE
Failure FALSE