drtGetSearchPath 函式 (drt.h)
DrtGetSearchPath函式會傳回搜尋作業期間所連絡的節點清單。
語法
HRESULT DrtGetSearchPath(
[in] HDRT_SEARCH_CONTEXT hSearchContext,
[in, out] ULONG ulSearchPathSize,
[out] DRT_ADDRESS_LIST *pSearchPath
);
參數
[in] hSearchContext
搜尋內容的控制碼。 DrtStartSearch函式會傳回此參數。
[in, out] ulSearchPathSize
搜尋路徑的大小,代表搜尋作業中所使用的節點數目。
[out] pSearchPath
包含地址清單 之DRT_ADDRESS_LIST 結構的指標。
傳回值
此函式會在成功時傳回S_OK。
需求
最低支援的用戶端 | Windows 7 專業版 [僅限傳統型應用程式] |
最低支援的伺服器 | Windows Server 2008 R2 [僅限桌面應用程式] |
目標平台 | Windows |
標頭 | drt.h |
程式庫 | Drt.lib |
Dll | Drt.dll |