Structure for receiving download hints. More...
#include <fpdf_async_r.h>
Public Attributes | |
FS_LPVOID | clientData |
User-defined data. More... | |
FS_RESULT(* | GetFile )(FS_LPVOID clientData, FSCRT_FILE *file) |
Foxit PDF SDK calls this interface to get the file which is to be opened. More... | |
FS_RESULT(* | IsDataAvail )(FS_LPVOID clientData, FS_DWORD offset, FS_DWORD size) |
Foxit PDF SDK calls this interface to report whether the specified data section is available or not. More... | |
FS_RESULT(* | AddDownloadHint )(FS_LPVOID clientData, FS_DWORD offset, FS_DWORD size) |
Foxit PDF SDK calls this interface to add a section which is to be downloaded. More... | |
Structure for receiving download hints.
FS_RESULT(* FSPDF_ASYNCFILEHANDLER::AddDownloadHint) (FS_LPVOID clientData, FS_DWORD offset, FS_DWORD size) |
Foxit PDF SDK calls this interface to add a section which is to be downloaded.
[in] | clientData | Pointer to user-defined data. |
[in] | offset | The offset of the hit reported to be downloaded. |
[in] | size | The size of the hit reported to be downloaded. |
FS_LPVOID FSPDF_ASYNCFILEHANDLER::clientData |
User-defined data.
FS_RESULT(* FSPDF_ASYNCFILEHANDLER::GetFile) (FS_LPVOID clientData, FSCRT_FILE *file) |
Foxit PDF SDK calls this interface to get the file which is to be opened.
[in] | clientData | Pointer to user-defined data. |
[out] | file | Pointer to a FSCRT_FILE handle that receives the file object. If there is any error, it will be NULL. |
FS_RESULT(* FSPDF_ASYNCFILEHANDLER::IsDataAvail) (FS_LPVOID clientData, FS_DWORD offset, FS_DWORD size) |
Foxit PDF SDK calls this interface to report whether the specified data section is available or not.
[in] | clientData | Pointer to user-defined data. |
[in] | offset | The offset of the hint reported to be downloaded. |
[in] | size | The size of the hint reported to be downloaded. |