msiRecordGetFieldCount 函式 (msiquery.h)
MsiRecordGetFieldCount 函式會傳回記錄中的字段數目。
語法
UINT MsiRecordGetFieldCount(
[in] MSIHANDLE hRecord
);
參數
[in] hRecord
記錄的句柄。
傳回值
如果函式成功,傳回值就是記錄中的欄位數目。
備註
MsiRecordGetFieldCount 參數傳回的計數不包含欄位 0。 讀取此計數以外的欄位存取權會傳回 Null 值。 寫入存取失敗。
規格需求
需求 | 值 |
---|---|
最低支援的用戶端 | Windows Server 2012、Windows 8、Windows Server 2008 R2 或 Windows 7 上的 Windows Installer 5.0。 Windows Server 2008 或 Windows Vista 上的 Windows Installer 4.0 或 Windows Installer 4.5。 |
目標平台 | Windows |
標頭 | msiquery.h |
程式庫 | Msi.lib |
Dll | Msi.dll |
另請參閱
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應