USB HOST DRIVER V03 Freescale Semiconductor / Motorola, USB HOST DRIVER V03 Datasheet - Page 96

no-image

USB HOST DRIVER V03

Manufacturer Part Number
USB HOST DRIVER V03
Description
USB Host Driver v03
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
4.6.19. USBLockDevice
Definition:
DWORD USBAPI
USBLockDevice(
Parameters:
Device
Points to the opened Device handle
Flags
Can be the following
Returns:
On success, routine returns
Comments:
By using this operation the Client application can lock access to the Device for other
Clients. This function locks the Device by means of the Device handle. The Device
handle specified in this request then becomes a master handle, so that a request with any
other Device handle will be blocked or returned with error. Only access to those
operations that change the Device state and data transfers will be blocked. The function
sends a
M
);
IN usb_t
IN DWORD
USB_LOCK_DEVICE
USB_TRY_LOCK_DEVICE
USB_UNLOCK_DEVICE
USB_TOTAL_UNLOCK
IOCTL_USB_LOCK_DEVICE
PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE
Device,
Flags
USB_STATUS_SUCCESS
request to the Driver.
MOTUSB Library.
– aquire Device lock
– try to aquire lock Device
– release Device lock
– release all locks belongs to this handle
, or else some MOTUSB error code.
4-26

Related parts for USB HOST DRIVER V03