## Presentation Device Driver Reference for OS/2

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

### SplPdSet

Select an item:

    Syntax
    Parameters
    Returns
    Remarks
    Glossary

Description:

SplPdSet is an API exported by port drivers. It is called by PrtSet to set printer device information.

    #define INCL_SPL

    #define INCL_SPLBIDI

    #include <os2.h>

    PSZ      pszPortName;  /*  Port name. */

    ULONG    ulType;       /*  Type of query and options. */

    ULONG    ulCommand;    /*  Generic command code. */

    PVOID    pInData;      /*  May contain information required by SplPdSet. */

    ULONG    cbInData;     /*  Length of information in pInData, in bytes. */

    ULONG    rc;           /*  Return codes. */

    rc = SplPdSet(pszPortName, ulType, ulCommand,

           pInData, cbInData);