Platform SDK: Hardware

SP_DEVINFO_DATA

The SP_DEVINFO_DATA structure defines a device instance that is a member of a device information set.

typedef struct _SP_DEVINFO_DATA {
  DWORD cbSize;
  GUID  ClassGuid;
  DWORD DevInst;
  ULONG_PTR Reserved;
} SP_DEVINFO_DATA, *PSP_DEVINFO_DATA;

Members

cbSize
Specifies the size, in bytes, of the structure.
ClassGuid
Contains the GUID of the device interface class.
DevInst
Contains the handle to this device instance.
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, SetupDiEnumDeviceInterfaces, SetupDiGetDeviceInterfaceDetail