SP_UNREMOVEDEVICE_PARAMS structure (setupapi.h)

An SP_UNREMOVEDEVICE_PARAMS structure corresponds to a DIF_UNREMOVE installation request.

Syntax

typedef struct _SP_UNREMOVEDEVICE_PARAMS {
  SP_CLASSINSTALL_HEADER ClassInstallHeader;
  DWORD                  Scope;
  DWORD                  HwProfile;
} SP_UNREMOVEDEVICE_PARAMS, *PSP_UNREMOVEDEVICE_PARAMS;

Members

ClassInstallHeader

An install request header that contains the header size and the DIF code for the request. See SP_CLASSINSTALL_HEADER.

Scope

A flag that indicates the scope of the unremove operation. This flag must always be set to DI_UNREMOVEDEVICE_CONFIGSPECIFIC.

HwProfile

The hardware profile ID for profile-specific changes. Zero specifies the current hardware profile.

Requirements

Requirement Value
Header setupapi.h (include Setupapi.h)

See also

DIF_UNREMOVE

SP_CLASSINSTALL_HEADER

SetupDiCallClassInstaller

SetupDiUnremoveDevice