[This is preliminary documentation and subject to change.]
The MsiGetSummaryInformation function obtains a handle to the _SummaryInformation stream for an installer database.
UINT MsiGetSummaryInformation(
MSIHANDLE hDatabase, // database handle
LPCTSTR szDatabasePath, // path to database
UINT uiUpdateCount, // maximum number of updated values, 0
// to open read-only
MSIHANDLE *phSummaryInfo // location to return summary information
// handle
);
If the database specified by the MsiGetSummaryInformation function is not open, you must specify 0 for hDatabase and specify the path to the database in szDatabasePath. If the database is open, you must set szDatabasePath to 0.
Windows NT: Requires version 4.0 or later. Available as a redistributable for Windows NT 4.0.
Windows: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Windows CE: Unsupported.
Header: Declared in msiquery.h.
Import Library: Use msi.lib.
Unicode: Implemented as Unicode and ANSI versions on Windows NT.
Database Access Reference, Summary Information Property Functions