IValidate::OpenCUB method (evalcom2.h)

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

Syntax

HRESULT OpenCUB(
  [in] LPCOLESTR szCUBFile
);

Parameters

[in] szCUBFile

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

Return value

This method can return one of these 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

Requirement Value
Minimum supported client Evalcom2.dll version 3.0.3790.371 or later
Target Platform Windows
Header evalcom2.h
DLL Evalcom2.dll

See also

IValidate

Using Evalcom2

Validation Callback Functions