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 |
Library | Drt.lib |
DLL | Drt.dll |