## Presentation Device Driver Reference for OS/2

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

### SplPdClose - Syntax

Description:

SplPdClose is an API exported by port drivers. It is called during PrtClose to close the device connection and frees the handle.

    #define INCL_SPL

    #define INCL_SPLBIDI

    #include <os2.h>

    HFILE    hDevice;  /*  Handle from SplPdOpen. */

    ULONG    rc;       /*  Return codes. */

    rc = SplPdClose(hDevice);