Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the last-write and change times for the item.
Syntax
HRESULT GetFileTimes(
[out] FILETIME *pftLastWrite,
[out] FILETIME *pftChange
);
Parameters
[out] pftLastWrite
Receives a pointer to a FILETIME structure containing the item's last-write time value.
[out] pftChange
Receives a pointer to a FILETIME structure containing the item's change time value.
Return value
Returns S_OK if successful, or an error value otherwise.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista |
| Minimum supported server | Windows Server 2008 |
| Target Platform | Windows |
| Header | cscobj.h |
| DLL | CscSvc.dll; CscObj.dll |