IDWriteFontFileStream::GetLastWriteTime method (dwrite.h)

Obtains the last modified time of the file.

Syntax

HRESULT GetLastWriteTime(
  [out] UINT64 *lastWriteTime
);

Parameters

[out] lastWriteTime

Type: UINT64*

When this method returns, contains the last modified time of the file in the format that represents the number of 100-nanosecond intervals since January 1, 1601 (UTC).

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

The "last modified time" is used by DirectWrite font selection algorithms to determine whether one font resource is more up to date than another one.

Requirements

Requirement Value
Minimum supported client Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header dwrite.h
Library Dwrite.lib
DLL Dwrite.dll

See also

IDWriteFontFileStream