Share via


GetLastModified Method

The GetLastModified method returns the time stamp of when the file was last modified.

Syntax
HRESULT GetLastModified(
  FILETIME*pftLastModified);
Parameters
  • pftLastModified
    [out] Pointer to a FILETIME that contains the time stamp of when the file was last modified.
Return Value

For a list of error messages returned by SharePoint Portal Server Protocol Handlers, see Error Messages.

Remarks

The Filter Daemon passes the value of pftLastModified to the Gatherer. The Gatherer stores this value for incremental and adaptive crawls. If GetLastModified is not implemented, the Gatherer will be limited to full crawls for that content source.

Example

To see this method in a fuller context, see Protocol Handler Sample.