## Presentation Device Driver Reference for OS/2

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

### SplPdRemoteSetPort

Select an item:

    Syntax
    Parameters
    Returns
    Remarks
    Glossary

Description:

SplPdRemoteSetPort is an API exported by a port driver. It is called by the network print object to display a dialog to an administrator that allows configuration of a server's printer port from a client machine.

    #define INCL_SPL

    #define INCL_SPLBIDI

    #include <os2.h>

    HAB       hab;              /*  Anchor block handle. */

    PSZ       pszComputerName;  /*  Name of print server being configured. */

    PSZ       pszPortName;      /*  Name of printer port to configure on print server. */

    PULONG    pflCapabilities;  /*  Pointer to a flag field. */

    ULONG     rc;               /*  Return codes. */

    rc = SplPdRemoteSetPort(hab, pszComputerName,

           pszPortName, pflCapabilities);