## Presentation Device Driver Reference for OS/2

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

### SplQpOpen - Syntax

Description:

SplQpOpen opens the queue driver and returns its handle. This function is normally called by the spooler.

    #include <os2.h>

    LONG            cData;   /*  The number of elements in the SQPOPENDATA structure. */

    PSQPOPENDATA    pbData;  /*  Pointer to the SQPOPENDATA structure. */

    HPROC           rc;      /*  Return codes. */

    rc = SplQpOpen(cData, pbData);