IXpsSigningOptions::GetCustomObjects method (xpsdigitalsignature.h)

Gets a pointer to an IOpcSignatureCustomObjectSet interface that contains a set of signature custom objects.

Syntax

HRESULT GetCustomObjects(
  [out, retval] IOpcSignatureCustomObjectSet **customObjectSet
);

Parameters

[out, retval] customObjectSet

A pointer to an IOpcSignatureCustomObjectSet interface that contains a set of signature custom objects.

Return value

If the method succeeds, it returns S_OK; otherwise, it returns an HRESULT error code.

Remarks

The custom object set that this method returns is empty. To add a custom object to this set, call the Create method of the interface that is returned in customObjectSet.

If a custom object must be signed, a reference to that object must be added to the custom object set. For information on adding custom references, refer to GetCustomReferences.

Requirements

   
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header xpsdigitalsignature.h

See also

GetCustomReferences

IOpcSignatureCustomObjectSet

IOpcSigningOptions

IXpsSigningOptions

XML Paper Specification