SP_DEVICE_INTERFACE_DATA (Structures)
Last changed: gustavo.mori@gmail.com-131.107.160.29

.
Summary
The SP_DEVICE_INTERFACE_DATA structure defines a device interface.

C# Definition:

  [StructLayout(LayoutKind.Sequential)]
  struct SP_DEVICE_INTERFACE_DATA
  {
    public  Int32    cbSize;
    public  Guid     interfaceClassGuid;
    public  Int32    flags;
    private UIntPtr  reserved;
  }

VB Definition:

<StructLayout(LayoutKind.Sequential)> _
Public Structure SP_DEVICE_INTERFACE_DATA
    Public cbSize         As UInteger
    Public interfaceClassGuid As Guid
    Public flags          As UInteger
    Public reserved       As IntPtr
End Structure

Members:

cbSize, Size of the structure, in bytes.

interfaceClassGuid, GUID of the device interface class.

flags, One of the SPINT_ values.

reserved, Reserved; do not use.

Notes:

Used with SetupDiEnumDeviceInterfaces and SetupDiGetDeviceInterfaceDetail

Documentation