THotPDF.CancelLoadedPagePrefetch Method
Requests cooperative cancellation of the active loaded-page prefetch and waits until its worker has released unpublished output
Declaration
procedure CancelLoadedPagePrefetch;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
| This member does not expose explicit parameters | |
Return value
This member does not return a value
Usage notes
- Cancellation checkpoints run through content tokenization, display-list construction, and renderer playback
- Individual codec, filter, source-read, and operating-system calls are atomic and may delay the next checkpoint
- The call is a no-op when no worker exists and is safe after a request has already completed
- Use
GetLoadedPagePrefetchInfoto distinguish explicit cancellation from foreground preemption and to inspect measured cancellation latency