XPS Digital Signature API Errors
Header: xpsdigitalsignature.h
The following table lists all HRESULT values that can be returned by the methods in the XPS Digital Signature API. Note that not every method can return every return value listed in this table.
| Symbolic | Code | Description |
|---|---|---|
| S_OK | The method succeeded. | |
| XPS_E_INVALID_SIGNATUREBLOCK_MARKUP | 0x8052038b | Encountered an error in the XML markup of the signature block while the signature markup was being read. |
| XPS_E_MARKUP_COMPATIBILITY_ELEMENTS | 0x80520389 | The XPS_SIGN_FLAGS value specified that no markup compatibility elements were expected; however, markup compatibility elements were found. |
| XPS_E_OBJECT_DETACHED | 0x8052038a | The interface is not associated with the signature manager. |
| XPS_E_PACKAGE_ALREADY_OPENED | 0x80520387 | An XPS package has already been opened in the signature manager. |
| XPS_E_PACKAGE_NOT_OPENED | 0x80520386 | An XPS package has not yet been opened in the signature manager. |
| XPS_E_SIGNATUREID_DUP | 0x80520388 | Two or more signatures have the same ID. |
| XPS_E_SIGREQUESTID_DUP | 0x80520385 | The signature request ID is not unique within the signature block. |
| 8 entries | ||
Article text from the Win32 documentation (opens in a new tab), by Microsoft, under the CC BY 4.0 (opens in a new tab) licence.