IUrlAccessor::BindToFilter method (searchapi.h)

Binds the item being processed to the appropriate IFilter and retrieves a pointer to the IFilter.

Syntax

HRESULT BindToFilter(
  [out] IFilter **ppFilter
);

Parameters

[out] ppFilter

Type: IFilter**

Receives the address of a pointer to the IFilter that can return metadata about the item being processed.

Return value

Type: HRESULT

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

Remarks

This method retrieves an IFilter to enumerate the properties of the item associated with the specified URL, based on the protocol's information about that URL.

If the URL's content is also accessible from the IStream returned by IUrlAccessor::BindToStream, then a separate IFilter is invoked on the IStream to retrieve additional properties.

Requirements

Requirement Value
Minimum supported client Windows XP with SP2, Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 with SP1 [desktop apps only]
Target Platform Windows
Header searchapi.h
Redistributable Windows Desktop Search (WDS) 3.0