Skip to content

Latest commit

 

History

History
102 lines (73 loc) · 4.92 KB

nf-searchapi-isearchprotocol2-createaccessorex.md

File metadata and controls

102 lines (73 loc) · 4.92 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:searchapi.ISearchProtocol2.CreateAccessorEx
ISearchProtocol2::CreateAccessorEx (searchapi.h)
Creates and initializes an IUrlAccessor object. This method has the same basic functionality as the ISearchProtocol::CreateAccessor method, but it includes an additional pUserData parameter to supply additional data to the protocol handler.
CreateAccessorEx
CreateAccessorEx method [search]
CreateAccessorEx method [search]
ISearchProtocol2 interface
ISearchProtocol2 interface [search]
CreateAccessorEx method
ISearchProtocol2.CreateAccessorEx
ISearchProtocol2::CreateAccessorEx
_search_ISearchProtocol2_CreateAccessorEx
search._search_ISearchProtocol2_CreateAccessorEx
searchapi/ISearchProtocol2::CreateAccessorEx
search\_search_ISearchProtocol2_CreateAccessorEx.htm
search
VS|search|~\search\wds3x\reference\ifaces\protocolhandlers\isearchprotocol2\createaccessorex.htm
12/05/2018
CreateAccessorEx, CreateAccessorEx method [search], CreateAccessorEx method [search],ISearchProtocol2 interface, ISearchProtocol2 interface [search],CreateAccessorEx method, ISearchProtocol2.CreateAccessorEx, ISearchProtocol2::CreateAccessorEx, _search_ISearchProtocol2_CreateAccessorEx, search._search_ISearchProtocol2_CreateAccessorEx, searchapi/ISearchProtocol2::CreateAccessorEx
searchapi.h
Windows
Windows XP with SP2, Windows Vista [desktop apps only]
Windows Server 2003 [desktop apps only]
Srchprth.idl
Windows
Windows Desktop Search (WDS) 3.0
19H1
ISearchProtocol2::CreateAccessorEx
searchapi/ISearchProtocol2::CreateAccessorEx
c++
APIRef
kbSyntax
COM
Searchapi.h
ISearchProtocol2.CreateAccessorEx

ISearchProtocol2::CreateAccessorEx

-description

    Creates and initializes an <a href="/windows/desktop/api/searchapi/nn-searchapi-iurlaccessor">IUrlAccessor</a> object. This method has the same basic functionality as the <a href="/windows/desktop/api/searchapi/nf-searchapi-isearchprotocol-createaccessor">ISearchProtocol::CreateAccessor</a> method, but it includes an additional <b>pUserData</b> parameter to supply additional data to the protocol handler.

-parameters

-param pcwszURL [in]

Type: LPCWSTR

Pointer to a null-terminated Unicode string containing the URL of the item being accessed.

-param pAuthenticationInfo [in]

Type: AUTHENTICATION_INFO*

Pointer to an AUTHENTICATION_INFO structure that contains authentication information necessary for accessing this item in the content source.

-param pIncrementalAccessInfo [in]

Type: INCREMENTAL_ACCESS_INFO*

Pointer to an INCREMENTAL_ACCESS_INFO structure that contains incremental access information, such as the last time the file was accessed by the gatherer.

-param pItemInfo [in]

Type: ITEM_INFO*

Pointer to an ITEM_INFO structure that contains information about the URL item, such as the name of the item's workspace catalog.

-param pUserData [in]

Type: const BLOB*

Pointer to user information. This data can be whatever the notification originator decides. If the protocol handler implements this interface, it will receive this data. Not all notifications have this blob set.

-param ppAccessor [out]

Type: IUrlAccessor**

Receives the address of a pointer to the IUrlAccessor object created by this method. This object contains information about the URL item, such as the item's file name.

-returns

Type: HRESULT

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

-remarks

This method creates and initializes an IUrlAccessor object to process an item currently being accessed by the gatherer. The protocol host calls this method on the protocol handler. This method is called once for every URL processed by the gatherer and retrieves a pointer to the IUrlAccessor object.