IXpsSignatureManager::SetSignatureOriginPartName method (xpsdigitalsignature.h)
Sets the part name of the signature origin part.
Syntax
HRESULT SetSignatureOriginPartName(
[in] IOpcPartUri *signatureOriginPartName
);
Parameters
[in] signatureOriginPartName
A pointer to an IOpcPartUri interface that contains the part name of the signature origin part.
Return value
If the method succeeds, it returns S_OK; otherwise, it returns an HRESULT error code shown in the table that follows or an HRESULT error code that is returned by IOpcDigitalSignatureManager::SetSignatureOriginPartName.
Return code | Description |
---|---|
|
The method succeeded. |
|
An XPS package was not loaded into the digital signature manager before calling this method. |
Remarks
The part name cannot be set if any signatures exist.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Target Platform | Windows |
Header | xpsdigitalsignature.h |