IDWriteFontDownloadListener::DownloadCompleted method (dwrite_3.h)

The DownloadCompleted method is called back on an arbitrary thread when a
download operation ends.

Syntax

void DownloadCompleted(
  [in]           IDWriteFontDownloadQueue *downloadQueue,
  [in, optional] IUnknown                 *context,
                 HRESULT                  downloadResult
);

Parameters

[in] downloadQueue

Type: IDWriteFontDownloadQueue*

Pointer to the download queue interface on which
the BeginDownload method was called.

[in, optional] context

Type: IUnknown*

Optional context object that was passed to BeginDownload.
AddRef is called on the context object by BeginDownload and Release is called
after the DownloadCompleted method returns.

downloadResult

Type: HRESULT

Result of the download operation.

Return value

None

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_3.h
Library Dwrite.lib
DLL Dwrite.dll

See also

IDWriteFontDownloadListener