The DEV_BROADCAST_PORT structure contains information about a modem, serial, or parallel port.
typedef struct _DEV_BROADCAST_PORT {
ULONG dbcp_size;
ULONG dbcp_devicetype;
ULONG dbcp_reserved;
char dbcp_name[1];
} DEV_BROADCAST_PORT;
typedef DEV_BROADCAST_PORT *PDEV_BROADCAST_PORT;
Members
dbcp_size
Size of this structure, in bytes.
dbcp_devicetype
DBT_DEVTYP_VOLUME.
dbcp_reserved
Reserved; do not use.
dbcp_name
Null-terminated string specifying the friendly name of the port or the device connected to the port. Friendly names are intended to help the user quickly and accurately identify the device¾for example, "COM1", "Hayes 2400 Smartmodem", and "LPT1" are considered friendly names.