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 |
|---|---|
|
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
| Version | Evalcom2.dll version 3.0.3790.371 or later |
|---|---|
| Header | Evalcom2.h |
| DLL | Evalcom2.dll |
| IID | IID_IValidate is defined as E482E5C6-E31E-4143-A2E6-DBC3D8E4B8D3 |
See Also
Send comments about this topic to Microsoft
Build date: 8/13/2009
© 2009 Microsoft Corporation. All rights reserved.