## Virtual Device Driver Reference for OS/2

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

### VDHOpenPDD - Format

This function gets the address of the routine in a physical device driver that the virtual device driver uses to communicate with the physical device driver. The physical device driver's device must have previously registered its name and entry point using the DevHlp service RegisterPDD.

    #include mvdm.h

    PSZ        DeviceName;     /*  Pointer to device name of physical device driver to open */

    FPFNVDD    VDDEntryPoint;  /*  VDD entry point for VDD/PDD communication */

    FPFNPDD    rc;

    rc = VDHOpenPDD(DeviceName, VDDEntryPoint);