共用方式為


XPS_SIGN_FLAGS enumeration

Specifies whether markup compatibility detection must be run before signing.

Syntax

typedef enum  { 
  XPS_SIGN_FLAGS_NONE                         = 0x00,
  XPS_SIGN_FLAGS_IGNORE_MARKUP_COMPATIBILITY  = 0x01
} XPS_SIGN_FLAGS;

Constants

  • XPS_SIGN_FLAGS_NONE
    The system will check for any markup compatibility elements before signing the package. If any markup compatibility elements are found, the signing operation fails with an XPS_E_MARKUP_COMPATIBILITY_ELEMENTS error.

  • XPS_SIGN_FLAGS_IGNORE_MARKUP_COMPATIBILITY
    The system will not check for any markup compatibility elements before signing the package.

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::GetFlags

IXpsSigningOptions::SetFlags

XML Paper Specification

Standard ECMA-376, Office Open XML File Formats