DrtGetSearchPathSize function (drt.h)

The DrtGetSearchPathSize function returns the size of the search path, which represents the number of nodes utilized in the search operation.

Syntax

HRESULT DrtGetSearchPathSize(
  [in]  HDRT_SEARCH_CONTEXT hSearchContext,
  [out] ULONG               *pulSearchPathSize
);

Parameters

[in] hSearchContext

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

[out] pulSearchPathSize

Pointer to a ULONG value that indicates the size of the search path.

Return value

This function returns S_OK on success.

Requirements

Requirement Value
Minimum supported client Windows 7 Professional [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header drt.h
Library Drt.lib
DLL Drt.dll

See also

DRT_ADDRESS_LIST

DrtGetSearchPathSize