Lines Matching defs:hDevice
75 USBHANDLE hDevice;
333 rc = g_pfnUsbCtrlMessage(pDevOs2->hDevice, /** @todo this API must take a endpoint number! */
351 rc = g_pfnUsbBulkRead2(pDevOs2->hDevice, pUrb->EndPt | 0x80, 0, !pUrb->fShortNotOk, &cbData, pbData, 500);//5*6000);
356 rc = g_pfnUsbBulkWrite2(pDevOs2->hDevice, pUrb->EndPt, 0, !pUrb->fShortNotOk, cbData, pbData, 500);//5*6000);
491 USBHANDLE hDevice = 0;
492 int urc = rc = g_pfnUsbOpen(&hDevice, idVendor, idProduct, bcdDevice, iEnum);
501 pDevOs2->hDevice = hDevice;
539 g_pfnUsbClose(hDevice);
589 g_pfnUsbClose(pDevOs2->hDevice);
590 pDevOs2->hDevice = 0;
629 int rc = g_pfnUsbCtrlMessage(pDevOs2->hDevice,
688 int rc = g_pfnUsbCtrlMessage(pDevOs2->hDevice,