Platform SDK: Hardware

SP_DEVICE_INTERFACE_DATA

The SP_DEVICE_INTERFACE_DATA structure defines a device interface.

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
Specifies the size, in bytes, of the structure.
InterfaceClassGuid
Contains the GUID of the device interface class.
Flags
Specifies information about the device interface. This parameter can be one of the following values.
Value Meaning
SPINT_ACTIVE The device is active.
SPINT_DEFAULT The device is the default device.
SPINT_REMOVED The device has been removed.

Reserved
Reserved; do not use.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 98.
  Header: Declared in Setupapi.h.

See Also

Device Management Overview, Device Management Structures, SetupDiCreateDeviceInterfaceRegKey, SetupDiDeleteDeviceInterfaceData, SetupDiDeleteDeviceInterfaceRegKey, SetupDiEnumDeviceInterfaces, SetupDiGetDeviceInterfaceAlias, SetupDiGetDeviceInterfaceDetail, SetupDiOpenDeviceInterface, SetupDiOpenDeviceInterfaceRegKey