Previous Next

SP_DEVICE_INTERFACE_DATA

An SP_DEVICE_INTERFACE_DATA structure defines a device interface in a device information set.

typedef struct _SP_DEVICE_INTERFACE_DATA {
  DWORD  cbSize;
  GUID  InterfaceClassGuid;
  DWORD  Flags;
  ULONG_PTR  Reserved;
} SP_DEVICE_INTERFACE_DATA, *PSP_DEVICE_INTERFACE_DATA;

Members

cbSize
The size, in bytes, of the SP_DEVICE_INTERFACE_DATA structure.
InterfaceClassGuid
The GUID for the class to which the device interface belongs.
Flags
Can be one or more of the following:
SPINT_ACTIVE
The interface is active (enabled).
SPINT_DEFAULT
The interface is the default interface for the device class.
SPINT_REMOVED
The interface is removed.
Reserved
Reserved. Do not use.

See Also

SetupDiCreateDeviceInterface, SetupDiEnumDeviceInterfaces, SetupDiGetDeviceInterfaceAlias, SetupDiOpenDeviceInterface, SetupDiSetDeviceInterfaceDefault, SP_DEVICE_INTERFACE_DETAIL_DATA