IAddrBook::GetSearchPath Method

Returns an ordered list of the entry identifiers of containers to be included in the name resolution process initiated by the IAddrBook::ResolveName method.

Syntax

HRESULT GetSearchPath(
    ULONG ulFlags,
    SRowSet **lppSearchPath
);

Parameters

ulFlags

ULONG

Value of type ULONG that specifies the bitmask of flags that control the type of the strings returned in the search path. The following flag is valid for the WAB:

MAPI_UNICODE

Specifies that returned strings are formatted in Unicode. If this flag is not set, the strings will be in ANSI format.

lppSearchPath

SRowSet

Address of a pointer to a variable of type SRowSet that specifies the ordered list of container entry identifiers. IAddrBook::GetSearchPath stores the ordered list in an SRowSet structure. If there are no containers in the address book hierarchy, the method returns zero in the SRowSet structure.

Return Value

HRESULT

If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Product

Internet Explorer 4.0

Header

Wabiab.h

DLL

Wab32.dll

See Also

IAddrBook

 

 

Send comments about this topic to Microsoft

Build date: 6/30/2010