Jungo WinDriver  
Official Documentation

◆ WDU_ATTACH_CALLBACK

typedef BOOL(DLLCALLCONV * WDU_ATTACH_CALLBACK) (_In_ WDU_DEVICE_HANDLE hDevice, _In_ WDU_DEVICE *pDeviceInfo, _In_ PVOID pUserData)

WinDriver calls this function with any new device that is attached, matches the given criteria, and if WD_ACKNOWLEDGE was passed to WDU_Init() in dwOptions - not controlled yet by another driver.

This callback is called once for each matching interface.

Parameters
[in]hDeviceA unique identifier for the device/interface
[in]pDeviceInfoPointer to device configuration details. This pointer is valid until the end of the function.
[in]pUserDataPointer to user data that was passed to WDU_Init (in the event table).
Returns
If WD_ACKNOWLEDGE was passed to WDU_Init(), the implementor should check & return if he wants to control the device.

Definition at line 35 of file wdu_lib.h.