Jungo WinDriver  
Official Documentation

◆ WDU_SetInterface()

DWORD DLLCALLCONV WDU_SetInterface ( _In_ WDU_DEVICE_HANDLE  hDevice,
_In_ DWORD  dwInterfaceNum,
_In_ DWORD  dwAlternateSetting 
)

Sets the alternate setting for the specified interface.

Parameters
[in]hDeviceA unique identifier for the device/interface.
[in]dwInterfaceNumThe interface's number.
[in]dwAlternateSettingThe desired alternate setting value.
Returns
WinDriver Error Code
WDU_SetInterface(hDevice, dwInterfaceNumber, dwAlternateSetting);
DWORD DLLCALLCONV WDU_SetInterface(_In_ WDU_DEVICE_HANDLE hDevice, _In_ DWORD dwInterfaceNum, _In_ DWORD dwAlternateSetting)
Sets the alternate setting for the specified interface.