[StructLayout(LayoutKind.Sequential)]
struct SP_DEVICE_INTERFACE_DATA
{
public Int32 cbSize;
public Guid interfaceClassGuid;
public Int32 flags;
private UIntPtr reserved;
}
<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
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.
Used with SetupDiEnumDeviceInterfaces and SetupDiGetDeviceInterfaceDetail