MsiRecordGetInteger

[This is preliminary documentation and subject to change.]

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

int MsiRecordGetInteger(
  MSIHANDLE hRecord,    // record handle
  unsigned int iField   // field of record
);
 

Parameters

hRecord
Handle to a record.
iField
Specifies the field of the record from which to obtain the value.

Return Values

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.

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.

See Also

Database Access Reference, Record Processing Functions