This function sends a SET_INTERFACE request to a USB device, to change the device’s settings.
USB_TRANSFER SetInterface( USB_HANDLE hDevice, LPTRANSFER_NOTIFY_ROUTINE lpStartAddress,
LPVOID lpvNotifyParameter, DWORD dwFlags, UCHAR bInterfaceNumber, UCHAR bAlternateSetting );
A USB_TRANSFER handle indicates success. NULL indicates failure.
This function initiates a control transfer to a USB device, specifying the alternate setting to use for the specified interface.
This function is defined in the Mousedrv.cpp file.
AbortTransfer, GetInterface, GetTransferStatus, IsTransferComplete