DEV_BROADCAST_PORT structure
Contains information about a modem, serial, or parallel port.
Syntax
typedef struct _DEV_BROADCAST_PORT { DWORD dbcp_size; DWORD dbcp_devicetype; DWORD dbcp_reserved; TCHAR dbcp_name[1]; } DEV_BROADCAST_PORT, *PDEV_BROADCAST_PORT;
Members
- dbcp_size
-
The size of this structure, in bytes. This is the size of the members plus the actual length of the dbcp_name string (the null character is accounted for by the declaration of dbcp_name as a one-character array.)
- dbcp_devicetype
-
Set to DBT_DEVTYP_PORT.
- dbcp_reserved
-
Reserved; do not use.
- dbcp_name
-
A 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" and "Standard 28800 bps Modem" are considered friendly names.
Requirements
|
Minimum supported client | Windows XP |
|---|---|
|
Minimum supported server | Windows Server 2003 |
|
Header |
|
See also
Send comments about this topic to Microsoft
Build date: 4/16/2013