The operating system sends the DBT_DEVICETYPESPECIFIC device message when a device-specific event occurs.
To send the DBT_DEVICETYPESPECIFIC device message, the operating system sends the WM_DEVICECHANGE message with wParam set to DBT_DEVICETYPESPECIFIC and lParam set as described in the following.
dwData = (DWORD) lParam;
Parameters
dwData
Address of a DEV_BROADCAST_HDR structure identifying the device. lParam is application-defined. May be zero.
Return Values
Return TRUE.
See Also