Export (0) Print
Expand All

DEV_BROADCAST_DEVICEINTERFACE structure

Contains information about a class of devices.

Syntax


typedef struct _DEV_BROADCAST_DEVICEINTERFACE {
  DWORD dbcc_size;
  DWORD dbcc_devicetype;
  DWORD dbcc_reserved;
  GUID  dbcc_classguid;
  TCHAR dbcc_name[1];
} DEV_BROADCAST_DEVICEINTERFACE, *PDEV_BROADCAST_DEVICEINTERFACE;

Members

dbcc_size

The size of this structure, in bytes. This is the size of the members plus the actual length of the dbcc_name string (the null character is accounted for by the declaration of dbcc_name as a one-character array.)

dbcc_devicetype

Set to DBT_DEVTYP_DEVICEINTERFACE.

dbcc_reserved

Reserved; do not use.

dbcc_classguid

The GUID for the interface device class.

dbcc_name

A null-terminated string that specifies the name of the device.

When this structure is returned to a window through the WM_DEVICECHANGE message, the dbcc_name string is converted to ANSI as appropriate. Services always receive a Unicode string, whether they call RegisterDeviceNotificationW or RegisterDeviceNotificationA.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Header

Dbt.h

See also

Device Management Structures
DEV_BROADCAST_HDR
RegisterDeviceNotification
WM_DEVICECHANGE

 

 

Community Additions

ADD
Show:
© 2014 Microsoft