ReleaseVirtualFileSnapshot
Workflow data tools, Virtual files, ActiveX, DLL
Description
Frees a virtual file snapshot handle
Syntax
ActiveX
Function PDFlib::ReleaseVirtualFileSnapshot(Snapshot As Long) As LongDLL
int DLReleaseVirtualFileSnapshot(int InstanceID, int Snapshot);
Parameters
| InstanceID | Library instance returned by DLCreateLibrary |
|---|---|
| Snapshot | Handle returned by CaptureVirtualFiles |
Return values
Returns 1 when the snapshot was released, or 0 when the handle is invalid
Remarks
Releasing a snapshot does not change the registry
ActiveX exposes this method on IPDFlibrary24; obtain it with CoPDFlibrary.CreateEditionTools24 or query the default interface of PDFlibAX 4.74 or later
All editions include these functions. Failed ActiveX calls return an empty string, 0 or Empty and record the reason for GetWorkflowToolsError. The C#, VB.NET and Visual C++ WorkflowTools examples in the DLL and ActiveX demo folders show a complete request, page plan and rollback workflow
See also
Workflow data tools · Virtual file registry · GetWorkflowToolsError