Share via


IUrlAccessor::GetLastModified Method

Gets the time stamp identifying when the URL was last modified.

Syntax

HRESULT GetLastModified(      
    FILETIME *pftLastModified
);

Parameters

  • pftLastModified
    [out]  Receives a pointer to a variable of type FILETIME identifying the time stamp when the URL was last modified.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

This method is used to determine whether a URL has changed since the last time it was indexed. If the last modified time has not changed, the indexer does not process the URL's content.

Directory URLs are always processed regardless of the time stamp returned by this method.