[This is preliminary documentation and subject to change.]
The MsiViewExecute function executes the view query, supplying parameters as required.
UINT MsiViewExecute(
MSIHANDLE hView, // view handle
MSIHANDLE hRecord // parameter record
);
The MsiViewExecute function must be called before any calls to MsiViewFetch. If the SQL query specifies values in the predicate expression with parameter markers, a record with all replacement values in exact order and of compatible data types must be supplied.
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.
Database Access Reference, General Database Access Functions