IValidate::SetDisplay Method

Windows Installer

IValidate::SetDisplay Method

The SetDisplay method enables an authoring tool to obtain ICE status messages through a callback function.

Syntax

C++HRESULT SetDisplay(
  [in]  LPDISPLAYVAL pDisplayFunction,
  [in]  LPVOID pContext
);

Parameters

pDisplayFunction [in]

Specifies a callback function that conforms to the LPDISPLAYVAL specification.

pContext [in]

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

Return Value

The method can return one of the following values.

Return code Description
S_OK

The method succeeded.

E_POINTER

The pDisplayFunction is invalid.

 

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.