Opens a virtual device driver (VDD), and returns a handle for it.
#define INCL_DOSMVDM #include <os2.h> PSZ pszVDD; /* The ASCIIZ name of the virtual device driver to be opened. */ PHVDD phvdd; /* A pointer to the HVDD in which the handle of the virtual device driver is returned. */ APIRET ulrc; /* Return Code. */ ulrc = DosOpenVDD(pszVDD, phvdd);