## Presentation Device Driver Reference for OS/2

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

### SplQmWrite - Syntax

Description:

SplQmWrite writes a buffer of data to the spool file for the print job.

    #define INCL_SPL /* Or use INCL_PM, */

    #include <os2.h>

    HSPL     hspl;    /*  Spooler handle. */

    LONG     lCount;  /*  Length in bytes. */

    PVOID    pData;   /*  Buffer of data to be written to the spool file. */

    BOOL     rc;      /*  Success indicator. */

    rc = SplQmWrite(hspl, lCount, pData);