The DEV_BROADCAST_HDR structure contains information about the device affected by a WM_DEVICECHANGE message.
typedef struct _DEV_BROADCAST_HDR {
ULONG dbch_size;
ULONG dbch_devicetype;
ULONG dbch_reserved;
} DEV_BROADCAST_HDR;
typedef DEV_BROADCAST_HDR *PDEV_BROADCAST_HDR;
|
Value |
Meaning |
|
DBT_DEVTYP_OEM |
OEM- or IHV-defined device type. |
|
DBT_DEVTYP_VOLUME |
Logical volume. |
|
DBT_DEVTYP_PORT |
Port device (serial or parallel). |