DACancelRangeSourcePrefetch

Direct access functionality, Progressive loading

Description

Requests cancellation of a prefetch job belonging to a direct-access byte-range stream

Syntax

Delphi

Function TPDFlib.DACancelRangeSourcePrefetch(FileHandle,
  JobHandle: Integer): Integer;

Return value

Returns 1 for valid file and job handles, otherwise returns zero and sets LastErrorCode to 401

Remarks

Cancellation is immediate for queued work and cooperative between synchronous source reads for running work