ReleasePAdESDSSProcess

Security and Signatures

Requires the Enterprise edition — in Delphi, C++Builder and Lazarus code create the library as TPDFlibEnterprise (unit PDFlibEnterprise); the Enterprise DLL and ActiveX builds provide it unchanged; other editions keep the method, which returns 0, an empty string or False and sets LastErrorCode to 900 (PDFLIB_ERROR_ENTERPRISE_REQUIRED)

Description

Removes the DSS process from the active list. The instance itself is released when the owning TPDFlib is destroyed

Syntax

Delphi

Function TPDFlib.ReleasePAdESDSSProcess(DSSProcessID: Integer): Integer; Virtual;

ActiveX

Function PDFlib::ReleasePAdESDSSProcess(DSSProcessID As Long) As Long

DLL

int DLReleasePAdESDSSProcess(int InstanceID, int DSSProcessID);

Parameters

DSSProcessIDValue returned by one of the NewPAdESDSSProcessFrom* functions

Return values

Returns 1 when the process was removed from the active list. Returns 0 when DSSProcessID is invalid; in editions without this feature the call returns 0 and LastErrorCode reports that the Enterprise edition is required.