ReleasePAdESDSSProcess

安全與簽章

需要 Enterprise 版本。在 Delphi、C++Builder 與 Lazarus 程式碼中,請以 TPDFlibEnterprise(PDFlibEnterprise 單元)建立程式庫;Enterprise DLL 與 ActiveX 組建原樣提供。其他版本保留此方法,方法會傳回 0、空字串或 False,並將 LastErrorCode 設為 900(PDFLIB_ERROR_ENTERPRISE_REQUIRED)

描述

把 DSS 程序從作用中清單移除。實例本身會在所屬 TPDFlib 摧毀時釋放

語法

Delphi

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

ActiveX

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

DLL

int DLReleasePAdESDSSProcess(int InstanceID, int DSSProcessID);

參數

DSSProcessID任一 NewPAdESDSSProcessFrom* 函式傳回的值

傳回值

流程從活動清單中移除後傳回 1。DSSProcessID 無效時傳回 0;在不具備此功能的版本中,呼叫會傳回 0,LastErrorCode 會回報需要 Enterprise 版。