IOpcSignatureRelationshipReferenceSet::CreateRelationshipSelectorSet method (msopc.h)
Creates an IOpcRelationshipSelectorSet interface pointer that is used as the selectorSet parameter value of the Create method.
Syntax
HRESULT CreateRelationshipSelectorSet(
[out] IOpcRelationshipSelectorSet **selectorSet
);
Parameters
[out] selectorSet
A new IOpcRelationshipSelectorSet interface pointer.
Return value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
|
The method succeeded. |
|
The selectorSet parameter is NULL. |
Remarks
To select a subset of the relationships (which are stored in the Relationships part to be referenced) to be signed when the signature is generated, call the Create method with the relationshipSigningOption parameter value set to OPC_RELATIONSHIP_SIGN_USING_SELECTORS and the selectorSet parameter value set to the IOpcRelationshipSelectorSet interface pointer created by this method.
Thread Safety
Packaging objects are not thread-safe.
For more information, see the Getting Started with the Packaging API.
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 | msopc.h |
See also
Getting Started with the Packaging API
IOpcSignatureRelationshipReferenceSet
Overviews
Packaging API Programming Guide
Packaging Digital Signature Interfaces
Reference