## Presentation Device Driver Reference for OS/2

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

### SplPdTermPort

Select an item:

    Syntax
    Parameters
    Returns
    Remarks
    Glossary

Description:

SplPdTermPort terminates a port on behalf of the spooler.

    #include <os2.h>

    HFILE     hfile;        /*  The handle to an open file. */

    PSZ       pszPortName;  /*  The name of the port to be terminated (closed). */

    APIERR    rc;           /*  Return codes. */

    rc = SplPdTermPort(hfile, pszPortName);