DEV_BROADCAST_HDR

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;
 

Members

dbch_size
Size of this structure, in bytes.
dbch_devicetype
Type of device. Can be one of these values:
Value Meaning
DBT_DEVTYP_OEM OEM- or IHV-defined device type.
DBT_DEVTYP_VOLUME Logical volume.
DBT_DEVTYP_PORT Port device (serial or parallel).

dbch_reserved
Reserved; do not use.

QuickInfo

  Windows NT: Requires version 5.0 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in dbt.h.

See Also

System Messages Overview, System Message Structures, WM_DEVICECHANGE