The DEV_BROADCAST_HDR structure contains information about the device affected by a WM_DEVICECHANGE message.
typedef struct _DEV_BROADCAST_HDR {
ULONG dbch_size; ULONG dbch_devicetype; ULONG dbch_reserved; } DEV_BROADCAST_HDR;
typedef DEV_BROADCAST_HDR *PDEV_BROADCAST_HDR;
Value |
Meaning |
DBT_DEVTYP_OEM |
OEM- or IHV-defined device type. |
DBT_DEVTYP_VOLUME |
Logical volume. |
DBT_DEVTYP_PORT |
Port device (serial or parallel). |
file: /Techref/os/win/api/win32/struc/src/str03_13.htm, 2KB, , updated: 2000/4/7 11:20, local time: 2024/11/12 18:26,
3.144.254.18:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.ecomorder.com/techref/os/win/api/win32/struc/src/str03_13.htm"> DEV_BROADCAST_HDR</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232! |
.