IUrlAccessor Interface
The IUrlAccessor interface provides methods for processing individual items in a content source where the URL is provided by the Filter Daemon.
Extends
IUnknown interface
Public Methods
The following table describes methods of the IUrlAccessor interface.
Name | Description |
---|---|
AddRequestParameter | Not supported. |
BindToFilter | Binds to the appropriate filter for the item and returns a pointer an IFilter. |
BindToStream Method | Binds to data stream for the item and returns a pointer to a Stream object. |
GetCLSID | Gets the CLSID. |
GetDocFormat | Gets the document format. |
GetFileName | Gets the file name, with the full path. |
GetHost | Not supported. |
GetLastModified | Gets the LastModified time. |
GetRedirectedURL | Gets the redirected URL. |
GetSecurityDescriptor | Get the security descriptor of the URL item. |
GetSecurityProvider | Not supported. |
GetSizeMethod | Gets the file size. |
IsDirectory Method | Determines whether the URL points to a directory. |
Remarks
The IUrlAccessor interface is the main interface for pulling data from the content source. The Get* methods are used for properties that are useful to or required by the Filter Daemon. Not all data sources will have these properties. If the property returned by one of these methods is not meaningful for your data source, your protocol handler should return E_NOTIMPL. The Bind* methods provide access to the data.
Although the protocol handler runs in the Filter Daemon's multithreaded environment, only one thread is employed for each item.
Requirements
Platforms: Microsoft Windows Server 2003