MsiSummaryInfoGetProperty

[This is preliminary documentation and subject to change.]

The MsiSummaryInfoGetProperty function gets a single property from the summary information.

UINT MsiSummaryInfoGetProperty(
  MSIHANDLE hSummaryInfo,   // summary info handle
  UINT uiProperty,          // property
  UINT *puiDataType,        // property type
  INT *piValue,             // value
  FILETIME *pftValue,       // file time
  LPCTSTR szValueBuf,       // value buffer
  DWORD *pcchValueBuf       // buffer size
);
 

Parameters

hSummaryInfo
Handle to summary information.
uiProperty
Specifies the property ID.
puiDataType
Specifies the returned property type. This type can be VT_I2, VT_I4, VT_LPSTR, VT_FILETIME, or VT_EMPTY. For more information on these types, see Summary Information Stream Property Set.
piValue
Specifies the returned integer property data.
pftValue
Pointer to a file value.
szValueBuf
Specifies the returned string property data.
pcchValueBuf
Specifies the size of the string buffer.

Return Values

ERROR_INVALID_HANDLE
An invalid or inactive handle was supplied.
ERROR_INVALID_PARAMETER
An invalid parameter was passed to the function.
ERROR_MORE_DATA
A buffer was too small to hold the entire value.
ERROR_SUCCESS
The function succeeded.

QuickInfo

  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.

See Also

Database Access Reference, Summary Information Property Functions