IValidate::OpenCUB Method

Windows Installer

IValidate::OpenCUB Method

The OpenCUB method opens an Internal Consistency Evaluator (ICE) file that is to be used for validation.

Syntax

C++HRESULT OpenCUB(
  [in]  LPCOLESTR szCUBFile
);

Parameters

szCUBFile [in]

The fully qualified path to the Internal Consistency Evaluator (ICE) file to be used for validation.

Return Value

The method can return one of the following values.

Return code Description
S_OK

The method succeeded.

E_POINTER

The value of szDatabase is invalid.

E_OUTOFMEMORY

Failed to allocate memory.

E_FAIL

The method failed.

 

Remarks

The Internal Consistency Evaluator (ICE) file typically has a .cub file name extension.

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.