DAGetRangeSourcePrefetchState
Direct access functionality, Progressive loading, Diagnostics
Description
Returns the current PDF_RANGE_PREFETCH_STATE_* code for a direct-access prefetch job without waiting
Syntax
Delphi
Function TPDFlib.DAGetRangeSourcePrefetchState(FileHandle,
JobHandle: Integer): Integer;Parameters
| FileHandle | Direct-access handle returned by DAOpenFile or DAOpenFromStream whose reader is backed by TByteRangeStream |
|---|---|
| JobHandle | Job handle returned by DAStartRangeSourcePrefetch for the same file handle |
Return values
Returns state 1 through 6, or zero and LastErrorCode 401 for an invalid handleSee
GetRangeSourcePrefetchState for the state table