IValidate::SetStatus Method

Windows Installer

IValidate::SetStatus Method

The SetStatus method enables an authoring tool to receive information about the progress of validation through a registered callback function.

Syntax

C++HRESULT SetStatus(
  [in]  LPEVALCOMCALLBACK pStatusFunction,
        LPVOID pContext
);

Parameters

pStatusFunction [in]

Specifies a callback function that conforms to the LPEVALCOMCALLBACK specification. The pStatusFunction can be NULL.

pContext

A pointer to an application context that is passed to the callback function. This parameter can be used for error checking. The pContext can be NULL.

Return Value

The method can return one of the following values.

Return code Description
S_OK

The method succeeded.

 

Requirements

VersionEvalcom2.dll version 3.0.3790.371 or later
HeaderEvalcom2.h
DLLEvalcom2.dll
IIDIID_IValidate is defined as E482E5C6-E31E-4143-A2E6-DBC3D8E4B8D3

See Also

IValidate
Using Evalcom2
Validation Callback Functions

Send comments about this topic to Microsoft

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.