GLOBALOPT_UNMARSHALING_POLICY_VALUES enumeration (objidl.h)

Provides values for the COM unmarshaling policy global option.

Syntax

typedef enum tagGLOBALOPT_UNMARSHALING_POLICY_VALUES {
  COMGLB_UNMARSHALING_POLICY_NORMAL = 0,
  COMGLB_UNMARSHALING_POLICY_STRONG = 1,
  COMGLB_UNMARSHALING_POLICY_HYBRID = 2
} GLOBALOPT_UNMARSHALING_POLICY_VALUES;

Constants

 
COMGLB_UNMARSHALING_POLICY_NORMAL
Value: 0
Unmarshaling behavior is the same as versions older than Windows 8. EOAC_NO_CUSTOM_MARSHAL restrictions apply if this flag is set in CoInitializeSecurity. Otherwise, there are no restrictions. This is the default for processes that aren't in the app container.
COMGLB_UNMARSHALING_POLICY_STRONG
Value: 1
Unmarshaling allows only a system-trusted list of hardened unmarshalers and unmarshalers allowed per-process by the CoAllowUnmarshalerCLSID function. This is the default for processes in the app container.
COMGLB_UNMARSHALING_POLICY_HYBRID
Value: 2
Unmarshaling data whose source is app container allows only a system-trusted list of hardened unmarshalers and unmarshalers allowed per-process by the CoAllowUnmarshalerCLSID function. Unmarshaling behavior for data with a source that's not app container is unchanged from previous versions.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Header objidl.h (include Objidlbase.h)

See also

IGlobalOptions

IMarshalingStream