DEV_BROADCAST_HANDLE structure

Contains information about a file system handle.

Syntax


typedef struct _DEV_BROADCAST_HANDLE {
  DWORD      dbch_size;
  DWORD      dbch_devicetype;
  DWORD      dbch_reserved;
  HANDLE     dbch_handle;
  HDEVNOTIFY dbch_hdevnotify;
  GUID       dbch_eventguid;
  LONG       dbch_nameoffset;
  BYTE       dbch_data[1];
} DEV_BROADCAST_HANDLE, *PDEV_BROADCAST_HANDLE;

Members

dbch_size

The size of this structure, in bytes.

dbch_devicetype

Set to DBT_DEVTYP_HANDLE.

dbch_reserved

Reserved; do not use.

dbch_handle

A handle to the device to be checked.

dbch_hdevnotify

A handle to the device notification. This handle is returned by RegisterDeviceNotification.

dbch_eventguid

The GUID for the custom event. For more information, see Device Events. Valid only for DBT_CUSTOMEVENT.

dbch_nameoffset

The offset of an optional string buffer. Valid only for DBT_CUSTOMEVENT.

dbch_data

Optional binary data. This member is valid only for DBT_CUSTOMEVENT.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Header

Dbt.h

See also

DEV_BROADCAST_HDR
WM_DEVICECHANGE

 

 

Show: