Platform SDK: Hardware

DEV_BROADCAST_HANDLE

The DEV_BROADCAST_HANDLE structure contains information about a file system handle.

typedef struct _DEV_BROADCAST_HANDLE {
  DWORD dbch_size; 
  DWORD dbch_devicetype; 
  DWORD dbch_reserved; 
  HANDLE dbch_handle; 
  HDEVNOTIFY dbch_hdevnotify; 

  // The following are valid only for DBT_CUSTOMEVENT
  GUID dbch_eventguid;
  LONG dbch_nameoffset;
  BYTE dbch_data[1];
} DEV_BROADCAST_HANDLE *PDEV_BROADCAST_HANDLE;

Members

dbch_size
Specifies the size, in bytes, of this structure.
dbch_devicetype
Set to the DBT_DEVTYP_HANDLE device type.
dbch_reserved
Reserved; do not use.
dbch_handle
Handle specified in the call to the RegisterDeviceNotification function.
dbch_hdevnotify
Handle to the device notification. This handle is returned by the RegisterDeviceNotification function.
dbch_eventguid
Specifies a globally unique identifier (GUID) for the custom event.
dbch_nameoffset
Specifies the offset of an optional string buffer.
dbch_data
Optional binary data.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 98.
  Header: Declared in Dbt.h.

See Also

Device Management Overview, Device Management Structures, DEV_BROADCAST_HDR, WM_DEVICECHANGE