XPS Digital Signature API Errors
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.
Return code/value | Description |
---|---|
|
The method succeeded. |
|
Encountered an error in the XML markup of the signature block while the signature markup was being read. |
|
The XPS_SIGN_FLAGS value specified that no markup compatibility elements were expected; however, markup compatibility elements were found. |
|
The interface is not associated with the signature manager. |
|
An XPS package has already been opened in the signature manager. |
|
An XPS package has not yet been opened in the signature manager. |
|
Two or more signatures have the same ID. |
|
The signature request ID is not unique within the signature block. |
Remarks
Some XPS digital signature API methods make calls to the Packaging API. For information about the Packaging API return values, see Packaging Errors.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 7 [desktop apps only] |
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
Header |
|
IDL |
|