共用方式為


CO_MARSHALING_CONTEXT_ATTRIBUTES列舉 (objidl.h)

識別您可以使用 GetMarshalingContextAttribute 方法查詢的其中一個封送處理內容屬性。

Syntax

typedef enum CO_MARSHALING_CONTEXT_ATTRIBUTES {
  CO_MARSHALING_SOURCE_IS_APP_CONTAINER = 0,
  CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_1 = 0x80000000,
  CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_2 = 0x80000001,
  CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_3 = 0x80000002,
  CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_4 = 0x80000003,
  CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_5 = 0x80000004,
  CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_6 = 0x80000005,
  CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_7 = 0x80000006,
  CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_8 = 0x80000007,
  CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_9 = 0x80000008,
  CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_10 = 0x80000009,
  CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_11 = 0x8000000a,
  CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_12 = 0x8000000b,
  CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_13 = 0x8000000c,
  CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_14 = 0x8000000d,
  CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_15,
  CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_16,
  CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_17,
  CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_18
} ;

常數

 
CO_MARSHALING_SOURCE_IS_APP_CONTAINER
值: 0
封送處理數據的來源是應用程式容器進程。
CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_1
值: 0x80000000
CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_2
值: 0x80000001
CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_3
值: 0x80000002
CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_4
值: 0x80000003
CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_5
值: 0x80000004
CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_6
值: 0x80000005
CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_7
值: 0x80000006
CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_8
值: 0x80000007
CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_9
值: 0x80000008
CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_10
值: 0x80000009
CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_11
值: 0x8000000a
CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_12
值: 0x8000000b
CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_13
值: 0x8000000c
CO_MARSHALING_CONTEXT_ATTRIBUTE_RESERVED_14
值: 0x8000000d

規格需求

需求
最低支援的用戶端 Windows 8
最低支援的伺服器 Windows Server 2012
標頭 objidl.h (包含 Objidlbase.h)

另請參閱

GetMarshalingContextAttribute

IMarshalingStream