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). |
Windows NT: Requires version 5.0 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in dbt.h.
System Messages Overview, System Message Structures, WM_DEVICECHANGE