By default, objects are passed to unmanaged methods as the VT_UNKNOWN type. This wrapper is used to send an object as type VT_DISPATCH . public sealed class DispatchWrapper { // Public Constructors public DispatchWrapper (object obj ); // Public Instance Properties public object WrappedObject {get; } } |