_FX_FILEAVAIL Struct Reference

A struct that provides an interface for checking whether the specified section of a PDF file is available. More...

#include <fpdfavail.h>

List of all members.

Public Member Functions

 bool (CDECL *IsDataAvail)(struct _FX_FILEAVAIL *pThis

Public Attributes

int version
 Version number of the interface. Currently must be 1.
size_t offset
size_t size_t size

Detailed Description

A struct that provides an interface for checking whether the specified section of a PDF file is available.


Member Function Documentation

_FX_FILEAVAIL::bool ( CDECL *  IsDataAvail)

Report whether the specified data section is available. A section is available only if all bytes in the section are available.

Parameters:
[out]pThis- Pointer to the interface structure itself.
[in]offset- The offset of the hint reported to be downloaded.
[in]size- The size of the hint reported to be downloaded.
Note:
Called by the Foxit SDK to check whether the data section is ready.
Return values:
Truemeans the specified data section is available.

The documentation for this struct was generated from the following file: