IUrlAccessor::GetLastModified Method
Gets the time stamp of when the file was last modified.
Syntax
HRESULT GetLastModified( FILETIME *pftLastModified );
Parameters
- pftLastModified
[out] Pointer to a variable of type FILETIME containing the time stamp of when the file was last modified.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
The Filter Host passes the value of pftLastModified to the Gatherer. The Gatherer stores this value for incremental and adaptive crawls. If this method is not implemented, the Gatherer will be limited to full crawls for that content source.
An accessor does not access files unless they have been modified. A directory is not used by the Gatherer, it is not necessary to provide a last modified time for a directory folder.