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 |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for