IValidate::CloseDatabase Method

Windows Installer

IValidate::CloseDatabase Method

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

C++HRESULT CloseDatabase();

Parameters

This method has no parameters.

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

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.