MsiRecordGetInteger function (msiquery.h)
The MsiRecordGetInteger function returns the integer value from a record field.
Syntax
int MsiRecordGetInteger(
[in] MSIHANDLE hRecord,
[in] UINT iField
);
Parameters
[in] hRecord
Handle to a record.
[in] iField
Specifies the field of the record from which to obtain the value.
Return value
If the function succeeds, the return value is the integer value of the field.
Remarks
The MsiRecordGetInteger function returns MSI_NULL_INTEGER if the field is null or if the field is a string that cannot be converted to an integer.
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. |
Target Platform | Windows |
Header | msiquery.h |
Library | Msi.lib |
DLL | Msi.dll |