## Presentation Device Driver Reference for OS/2

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

### PrtClose

Select an item:

    Syntax
    Parameters
    Returns
    Remarks
    Glossary

Description:

PrtClose closes the output device identified by hDevice and releases the spooler port semaphore. It also calls the port driver for port termination.

    #include <os2.h>

    HFILE    hDevice;  /*  The device handle returned by PrtOpen. */

    ULONG    rc;       /*  Return codes. */

    rc = PrtClose(hDevice);