Prev Next

DBT_USERDEFINED Overview  Group

The DBT_USERDEFINED device message identifies a user-defined system message.

To send the DBT_USERDEFINED device message, send the WM_DEVICECHANGE message with wParam set to DBT_USERDEFINED and lParam set as described following.

pDbu = (struct _DEV_BROADCAST_USERDEFINED *)lParam;

Parameters

pDbu
Points to a _DEV_BROADCAST_USERDEFINED structure which describes the user-defined broadcast in progress. The dbud_szName member contains the name of the user-defined message, followed by arbitrary user-defined data.

See Also

_DEV_BROADCAST_USERDEFINED, WM_DEVICECHANGE