## Virtual Device Driver Reference for OS/2

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

### VDHPrintClose - Format

This function is called by other virtual device drivers to flush and close a DOS session's open printers that have been opened for INT 17H printing. A DOS session can have more than one printer open. This service flushes and closes all of them.

    #include mvdm.h

    HVDM    VDMHandle;  /*  DOS session handle */

    VDHPrintClose(VDMHandle);