GetPAdESDSSProcessResult
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
Returns the last result code produced by an EndPAdESDSSProcessTo* call on this process id. Useful in flows where the caller checks the outcome after the write rather than at the End call site
Syntax
Delphi
Function TPDFlib.GetPAdESDSSProcessResult(DSSProcessID: Integer): Integer; Virtual;ActiveX
Function PDFlib::GetPAdESDSSProcessResult(DSSProcessID As Long) As LongDLL
int DLGetPAdESDSSProcessResult(int InstanceID, int DSSProcessID);
Parameters
| DSSProcessID | Value returned by one of the NewPAdESDSSProcessFrom* functions |
|---|
Return values
Returns the result code recorded by the most recent EndPAdESDSSProcessTo* call on this process id. Returns 0 for an invalid process id or when the PAdES feature set is not enabled in this edition, in which case LastErrorCode reports the reason.