IDWriteFontDownloadListener::DownloadCompleted method

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

Syntax


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

Parameters

downloadQueue [in]

Type: IDWriteFontDownloadQueue*

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

context [in, optional]

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

This method does not return a value.

Requirements

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

Dwrite_3.h

Library

Dwrite.lib

DLL

Dwrite.dll

See also

IDWriteFontDownloadListener

 

 

Show: