wiasGetRootItem 函式 (wiamdef.h)
wiasGetRootItem 函式會擷取指定 WIA 專案的根項目內容。
語法
HRESULT wiasGetRootItem(
[in] BYTE *pWiasContext,
[out] BYTE **ppWiasContext
);
參數
[in] pWiasContext
WIA 專案內容的指標。
[out] ppWiasContext
接收 WIA 專案根專案內容位址的記憶體位置指標。
傳回值
成功時,函式會傳回S_OK。
如果函式失敗,它會傳回標準 COM 錯誤或其中一個 WIA 錯誤碼。
要求
要求 | 價值 |
---|---|
目標平臺 | 桌面 |
標頭 | wiamdef.h (包括 Wiamdef.h) |
連結庫 | Wiaservc.lib |
DLL | Wiaservc.dll |