Lines Matching refs:mhmod
41 : USBProxyService(aHost), mhev(NULLHANDLE), mhmod(NULLHANDLE),
54 rc = DosLoadModule(NULL, 0, (PCSZ)"usbcalls", &mhmod);
58 if ( (rc = DosQueryProcAddr(mhmod, 0, (PCSZ)"UsbQueryNumberDevices", (PPFN)&mpfnUsbQueryNumberDevices)) == NO_ERROR
59 && (rc = DosQueryProcAddr(mhmod, 0, (PCSZ)"UsbQueryDeviceReport", (PPFN)&mpfnUsbQueryDeviceReport)) == NO_ERROR
60 && (rc = DosQueryProcAddr(mhmod, 0, (PCSZ)"UsbRegisterChangeNotification", (PPFN)&mpfnUsbRegisterChangeNotification)) == NO_ERROR
61 && (rc = DosQueryProcAddr(mhmod, 0, (PCSZ)"UsbDeregisterNotification", (PPFN)&mpfnUsbDeregisterNotification)) == NO_ERROR
84 DosFreeModule(mhmod);
88 mhmod = NULLHANDLE;
114 if (mhmod)
124 DosFreeModule(mhmod);
125 mhmod = NULLHANDLE;