다음을 통해 공유


IXpsSigningOptions::GetCustomObjects method

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

Syntax

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

Parameters

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]

Header

Xpsdigitalsignature.h

IDL

XpsDigitalSignature.idl

See also

IXpsSigningOptions

IOpcSignatureCustomObjectSet

GetCustomReferences

IOpcSigningOptions

XML Paper Specification