IAPI::RestoreFileTimeStamp

property RestoreFileTimeStamp.

Restores or attaches a timestamp returned by GetFileTimeStamp( ) to a file.

 

HRESULT RestoreFileTimeStamp(
  BSTR FileName,
  long FileTimeStamp,
  long *pVal
);

Parameters

FileName

[in] .   Full filename.

If this parameter is NULL (vbNullString) or empty,

calling this property will free the handle of timestamp.

FileTimeStamp

 [in] .  Handle of timestamp

pVal

[out, retval] The returned value is 1 if OK, 0 if failed.

Return Values

S_OK

The operation was successfull.

E_POINTER

A NULL pointer was supplied as an argument.

E_UNEXPECTED

An unexpected error occoured.

See Also

IAPI