GLOBALOPT_UNMARSHALING_POLICY_VALUES enumeration

Provides values for the COM unmarshaling policy global option.

Syntax


typedef enum _GLOBALOPT_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

Unmarshaling behavior is the same as versions before 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

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

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

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Objidlbase.h

IDL

Objidlbase.idl

See also

IGlobalOptions
IMarshalingStream

 

 

Community Additions

ADD
Show:
© 2014 Microsoft