Searched refs:g_hmod (Results 1 - 1 of 1) sorted by relevance

/vbox/src/VBox/Devices/USB/os2/
H A DUSBProxyDevice-os2.cpp113 static HMODULE g_hmod; variable
139 int rc = DosLoadModule(NULL, 0, (PCSZ)"usbcalls", &g_hmod);
143 if ( (rc = DosQueryProcAddr(g_hmod, 0, (PCSZ)"UsbOpen", (PPFN)&g_pfnUsbOpen)) == NO_ERROR
144 && (rc = DosQueryProcAddr(g_hmod, 0, (PCSZ)"UsbClose", (PPFN)&g_pfnUsbClose)) == NO_ERROR
145 && (rc = DosQueryProcAddr(g_hmod, 0, (PCSZ)"UsbCtrlMessage", (PPFN)&g_pfnUsbCtrlMessage)) == NO_ERROR
146 && (rc = DosQueryProcAddr(g_hmod, 0, (PCSZ)"UsbBulkRead", (PPFN)&g_pfnUsbBulkRead)) == NO_ERROR
147 && (rc = DosQueryProcAddr(g_hmod, 0, (PCSZ)"UsbBulkWrite", (PPFN)&g_pfnUsbBulkWrite)) == NO_ERROR
159 DosFreeModule(g_hmod);
162 g_hmod = NULLHANDLE;

Completed in 60 milliseconds