IDWriteLocalFontFileLoader::GetLastWriteTimeFromKey method (dwrite.h)

Obtains the last write time of the file from the font file reference key.

Syntax

HRESULT GetLastWriteTimeFromKey(
  [in]  void const *fontFileReferenceKey,
        UINT32     fontFileReferenceKeySize,
  [out] FILETIME   *lastWriteTime
);

Parameters

[in] fontFileReferenceKey

Type: const void*

The font file reference key that uniquely identifies the local font file within the scope of the font loader being used.

fontFileReferenceKeySize

Type: UINT32

The size of font file reference key in bytes.

[out] lastWriteTime

Type: FILETIME*

The time of the last font file modification.

Return value

Type: HRESULT

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

Requirements

Requirement Value
Target Platform Windows
Header dwrite.h
Library Dwrite.lib
DLL Dwrite.dll

See also

IDWriteLocalFontFileLoader