MsiRecordGetFieldCount function (msiquery.h)
The MsiRecordGetFieldCount function returns the number of fields in a record.
Syntax
UINT MsiRecordGetFieldCount(
[in] MSIHANDLE hRecord
);
Parameters
[in] hRecord
Handle to a record.
Return value
If the function succeeds, the return value is the number of fields in the record.
Remarks
The count returned by the MsiRecordGetFieldCount parameter does not include field 0. Read access to fields beyond this count returns null values. Write access fails.
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 |