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 10 [desktop apps only] |
Minimum supported server | Windows Server 2016 [desktop apps only] |
Target Platform | Windows |
Header | dwrite_3.h |
Library | Dwrite.lib |
DLL | Dwrite.dll |