IDWriteRemoteFontFileStream::BeginDownload method (dwrite_3.h)
Begins downloading all or part of the font file.
HRESULT BeginDownload( [in] UUID const *downloadOperationID, [in] DWRITE_FILE_FRAGMENT const *fileFragments, UINT32 fragmentCount, IDWriteAsyncResult **asyncResult );
Array of structures, each specifying a byte range to download.
Number of elements in the fileFragments array. This can be zero to just download file information, such as the size.
Receives an object that can be used to wait for the asynchronous download to complete and to get the download result upon completion. The result may be NULL if the download completes synchronously. For example, this can happen if method determines that the requested data is already local.
This method returns an HRESULT success or error code.