Lines Matching refs:ret
127 BOOL ret = DeviceIoControl(usb_device_handle, in GetSerialNumber() local
135 ULONG error = ret ? NO_ERROR : GetLastError(); in GetSerialNumber()
192 BOOL ret = DeviceIoControl(usb_device_handle, in GetEndpointInformation() local
198 ATLASSERT(!ret || (sizeof(AdbEndpointInformation) == ret_bytes)); in GetEndpointInformation()
201 ULONG error = ret ? NO_ERROR : GetLastError(); in GetEndpointInformation()
209 return ret ? true : false; in GetEndpointInformation()
272 ADBAPIHANDLE ret = adb_endpoint->CreateHandle(endpoint_path.c_str(), in OpenEndpoint() local
278 return ret; in OpenEndpoint()
284 BOOL ret = DeviceIoControl(usb_device_handle, in CacheUsbDeviceDescriptor() local
291 ATLASSERT(!ret || (sizeof(USB_DEVICE_DESCRIPTOR) == ret_bytes)); in CacheUsbDeviceDescriptor()
293 return ret ? true : false; in CacheUsbDeviceDescriptor()
299 BOOL ret = DeviceIoControl(usb_device_handle, in CacheUsbConfigurationDescriptor() local
306 ATLASSERT(!ret || (sizeof(USB_CONFIGURATION_DESCRIPTOR) == ret_bytes)); in CacheUsbConfigurationDescriptor()
308 return ret ? true : false; in CacheUsbConfigurationDescriptor()
314 BOOL ret = DeviceIoControl(usb_device_handle, in CacheUsbInterfaceDescriptor() local
321 ATLASSERT(!ret || (sizeof(USB_INTERFACE_DESCRIPTOR) == ret_bytes)); in CacheUsbInterfaceDescriptor()
323 return ret ? true : false; in CacheUsbInterfaceDescriptor()