DrtGetSearchPath function

The DrtGetSearchPath function returns a list of nodes contacted during the search operation.

Syntax


HRESULT WINAPI DrtGetSearchPath(
  _In_     HDRT_SEARCH_CONTEXT hSearchContext,
  _Inout_  ULONG ulSearchPathSize,
  _Out_    DRT_ADDRESS_LIST *pSearchPath[bcount_full(ulSearchPathSize)]
);

Parameters

hSearchContext [in]

Handle to the search context. This parameter is returned by the DrtStartSearch function.

ulSearchPathSize [in, out]

The size of the search path which represents the number of nodes utilized in the search operation.

pSearchPath [out]

Pointer to a DRT_ADDRESS_LIST structure containing the list of addresses.

Return value

This function returns S_OK on success.

Requirements

Minimum supported client

Windows 7 Professional [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Drt.h

Library

Drt.lib

DLL

Drt.dll

See also

DrtGetSearchPathSize
DRT_ADDRESS_LIST

 

 

Community Additions

ADD
Show:
© 2014 Microsoft