SP_TROUBLESHOOTER_PARAMS_A structure (setupapi.h)

An SP_TROUBLESHOOTER_PARAMS structure corresponds to a DIF_TROUBLESHOOTER installation request.

Syntax

typedef struct _SP_TROUBLESHOOTER_PARAMS_A {
  SP_CLASSINSTALL_HEADER ClassInstallHeader;
  CHAR                   ChmFile[MAX_PATH];
  CHAR                   HtmlTroubleShooter[MAX_PATH];
} SP_TROUBLESHOOTER_PARAMS_A, *PSP_TROUBLESHOOTER_PARAMS_A;

Members

ClassInstallHeader

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

ChmFile[MAX_PATH]

Optionally specifies a string buffer that contains the path of a CHM file. The CHM file contains HTML help topics with troubleshooting information. The path must be fully qualified if the file is not in default system help directory (%SystemRoot%\help).

HtmlTroubleShooter[MAX_PATH]

Optionally specifies a string buffer that contains the path of a topic in the ChmFile. This parameter identifies the page of the ChmFile that Windows should display first.

Remarks

An installer fills in this structure in response to a DIF_TROUBLESHOOTER request.

Note

The setupapi.h header defines SP_TROUBLESHOOTER_PARAMS as an alias that automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that is not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.

Requirements

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

See also

DIF_TROUBLESHOOTER

SP_CLASSINSTALL_HEADER

SetupDiCallClassInstaller