IUrlAccessor::BindToStream method (searchapi.h)
Binds the item being processed to an IStream interface [Structured Storage] data stream and retrieves a pointer to that stream.
HRESULT BindToStream( IStream **ppStream );
Receives the address of a pointer to the IStream that contains the item represented by the URL.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Using the information returned by the IUrlAccessor::GetFileName, IUrlAccessor::GetCLSID, and IUrlAccessor::GetDocFormat methods, the appropriate content IFilterobject is created and passed to this stream by the IPersistStream interface.
|Minimum supported client||Windows XP with SP2, Windows Vista [desktop apps only]|
|Minimum supported server||Windows Server 2003 with SP1 [desktop apps only]|
|Redistributable||Windows Desktop Search (WDS) 3.0|