本节描述在能够(或必须)为封送拆收器提供附加类型信息时自定义互操作包装的过程。
This section describes the processes for customizing interop wrappers when you can (or must) supply the marshaler with additional type information.
例如,封送拆收器确定应当使用类包装来包装传递到托管代码中的接口。
For example, the marshaler determines that the class wrapper should be used to wrap the interface that was passed into managed code.
封送拆收器可以使用该CLSID 找到包装的元数据。
The marshaler can use the CLSID to locate the metadata for the wrapper.
提供对自定义封送拆收器包装的基础对象的访问权限。
Provides access to the underlying object wrapped by a custom marshaler.
提供对自定义封送拆收器包装的基础对象的访问权限。
Provides access to the underlying object wrapped by a custom marshaler.
应用推荐