DEV_BROADCAST_VOLUME (Structures)
Last changed: -93.104.237.91

.
Summary
Retrieved by handling WM_DEVICECHANGE Message's LPARAM property value. DEV_BROADCAST_HDR structure supplies information about the changed device's type.

C# Signature:

[StructLayout(LayoutKind.Sequential)]
struct DEV_BROADCAST_VOLUME {
   public uint dbch_Size;
   public uint dbch_Devicetype;
   public uint dbch_Reserved;
   public uint dbch_Unitmask;
   public ushort dbch_Flags;
}

VB Signature:

<StructLayout(LayoutKind.Sequential> _
Structure DEV_BROADCAST_VOLUME
   Public dbch_Size as UInteger
   Public dbch_DeviceType as UInteger
   Public dbch_Reserved as UInteger
   Public dbch_Unitmask as UInteger
   Public dbch_Flags as UShort
End Structure

User-Defined Field Types:

None.

Notes:

None.

Documentation