IValidate::CloseDatabase method (evalcom2.h)

The CloseDatabase method closes the currently open Windows Installer package or merge module. Windows Installer packages or merge modules can be opened by using the OpenDatabase method.

Syntax

HRESULT CloseDatabase();

Return value

Return code Description
S_OK
The method succeeded.
 

This method can also return one or more of the errors returned by the MsiCloseHandle function. The error is converted to HRESULTS using the HRESULT_FROM_WIN32 function.

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