MsiGetDatabaseState function (msiquery.h)
The MsiGetDatabaseState function returns the state of the database.
Syntax
MSIDBSTATE MsiGetDatabaseState(
[in] MSIHANDLE hDatabase
);
Parameters
[in] hDatabase
Handle to the database obtained from MsiOpenDatabase.
Return value
This function returns MSIDBSTATE.
Remarks
The MsiGetDatabaseState function returns the update state of the database.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Installer 5.0 on Windows Server 2012, Windows 8, Windows Server 2008 R2 or Windows 7. Windows Installer 4.0 or Windows Installer 4.5 on Windows Server 2008 or Windows Vista. Windows Installer on Windows Server 2003 or Windows XP |
Target Platform | Windows |
Header | msiquery.h |
Library | Msi.lib |
DLL | Msi.dll |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for