MsiRecordGetInteger function

The MsiRecordGetInteger function returns the integer value from a record field.

Syntax


int MsiRecordGetInteger(
  _In_ MSIHANDLE    hRecord,
  _In_ unsigned int iField
);

Parameters

hRecord [in]

Handle to a record.

iField [in]

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

Version

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.

Header

Msiquery.h

Library

Msi.lib

DLL

Msi.dll

See also

Record Processing Functions

 

 

Show: