Skip to content

Latest commit

 

History

History
84 lines (65 loc) · 3.36 KB

nf-dwrite_3-idwritefontdownloadqueue-addlistener.md

File metadata and controls

84 lines (65 loc) · 3.36 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:dwrite_3.IDWriteFontDownloadQueue.AddListener
IDWriteFontDownloadQueue::AddListener (dwrite_3.h)
Registers a client-defined listener object that receives download notifications. All registered listener's DownloadCompleted will be called after BeginDownloadcompletes.
AddListener
AddListener method [Direct Write]
AddListener method [Direct Write]
IDWriteFontDownloadQueue interface
IDWriteFontDownloadQueue interface [Direct Write]
AddListener method
IDWriteFontDownloadQueue.AddListener
IDWriteFontDownloadQueue::AddListener
directwrite.idwritefontdownloadqueue_addlistener
dwrite_3/IDWriteFontDownloadQueue::AddListener
directwrite\idwritefontdownloadqueue_addlistener.htm
DirectWrite
c539be2d-bc77-cc8a-c78c-226a67b8dd26
12/05/2018
AddListener, AddListener method [Direct Write], AddListener method [Direct Write],IDWriteFontDownloadQueue interface, IDWriteFontDownloadQueue interface [Direct Write],AddListener method, IDWriteFontDownloadQueue.AddListener, IDWriteFontDownloadQueue::AddListener, directwrite.idwritefontdownloadqueue_addlistener, dwrite_3/IDWriteFontDownloadQueue::AddListener
dwrite_3.h
Windows
Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps \| UWP apps]
Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps \| UWP apps]
Dwrite.lib
Dwrite.dll
Windows
19H1
IDWriteFontDownloadQueue::AddListener
dwrite_3/IDWriteFontDownloadQueue::AddListener
c++
APIRef
kbSyntax
COM
dwrite.dll
IDWriteFontDownloadQueue.AddListener

IDWriteFontDownloadQueue::AddListener

-description

Registers a client-defined listener object that receives download notifications.
All registered listener's DownloadCompleted will be called after BeginDownload completes.

-parameters

-param listener

Type: IDWriteFontDownloadListener*

Listener object to add.

-param token [out]

Type: UINT32*

Receives a token value, which the caller must subsequently pass to RemoveListener.

-returns

Type: HRESULT

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

-remarks

An IDWriteFontDownloadListener can also be passed to BeginDownload using the context parameter, rather than globally registered to the queue.

-see-also

IDWriteFontDownloadQueue