Language
|
Description
|
C/C++
|
BOOL UsbClearFeature(IN USB_DEVICE_HANDLE hUsb,
| IN RDUSB_REQUEST_RECIPIENT RequestRecipient,
|
| IN USHORT FeatureSelector,
|
|
Delphi
|
function UsbClearFeature(hUsb : USB_DEVICE_HANDLE;
RequestRecipient : RDUSB_Request_Recipient;
FeatureSelector : USHORT;
Index : USHORT) : BOOL; stdcall;
|
VB
|
Function UsbClearFeature (ByVal hUsb As Long, _
ByVal Recepient As Byte, _
ByVal FeatSelector As Byte, _
ByVal FeatIndex As Byte) As Boolean
|
Parameters
| Specifies device handle. This handle can be obtained with OpenRapidUsb.
|
| Specifies recipient of feature request.
|
| Specifies the USB-defined feature code that should be cleared on the target specified by RequestRecipient.
|
| For a feature request for an endpoint or interface, specifies the index of the endpoint or interface within the configuration descriptor. For the device, this must be zero.
|
Return Value
| If function fails it return FALSE. To detect error call GetLastError function.
|
Description
| UsbClearFeature sends request to clear specified feature of USB device.
|
|