<< back to sysax.com Product page

12.9. Checking OpenPGP operation status

The IsPGPSuccess method can be used to check the status of a OpenPGP operation.

Exhibit 12.17. IDL Definition of method to check status of OpenPGP operations


HRESULT IsPGPSuccess ([out, retval] VARIANT_BOOL *f_is_success);


Exhibit 12.18. Example usage of method to check status of OpenPGP operations (VBScript)


'check if the OpenPGP operation was successful
If app.IsPGPSuccess Then
  'OpenPGP operation was successful
End If