CustomMarshalers Marshals the COM IDispatch interface to the .NET Framework interface, and vice versa. Performs necessary cleanup of the managed data when it is no longer needed. The managed object to be destroyed. Performs necessary cleanup of the unmanaged data when it is no longer needed. A pointer to the unmanaged data to be destroyed. Returns an instance of the custom marshaler. An instance of the custom marshaler. String "cookie" parameter that can be used by the custom marshaler. Returns the size in bytes of the unmanaged data to be marshaled. -1 to indicate the type this marshaler handles is not a value type. Marshals an object from managed code to unmanaged code. A pointer to the unmanaged object. The managed object to be converted. Marshals an object from unmanaged code to managed code. A managed object. A pointer to the unmanaged object to be converted. Marshals the COM IEnumVARIANT interface to the .NET Framework interface, and vice versa. Performs necessary cleanup of the managed data when it is no longer needed. The managed object to be destroyed. Performs necessary cleanup of the unmanaged data when it is no longer needed. A pointer to the unmanaged data to be destroyed. Returns an instance of the custom marshaler. An instance of the custom marshaler. String "cookie" parameter that can be used by the custom marshaler. Returns the size in bytes of the unmanaged data to be marshaled. -1 to indicate the type this marshaler handles is not a value type. Marshals an object from managed code to unmanaged code. A pointer to the unmanaged object. The managed object to be converted. Marshals an object from unmanaged code to managed code. A managed object. A pointer to the unmanaged object to be converted. Marshals the COM IDispatchEx interface to either the .NET Framework interface, or to the interface, and vice versa. Performs necessary cleanup of the managed data when it is no longer needed. The managed object to be destroyed. Performs necessary cleanup of the unmanaged data when it is no longer needed. A pointer to the unmanaged data to be destroyed. Returns an instance of the custom marshaler. An instance of the custom marshaler. String "cookie" parameter that can be used by the custom marshaler. Returns the size in bytes of the unmanaged data to be marshaled. -1 to indicate the type this marshaler handles is not a value type. Marshals an object from managed code to unmanaged code. A pointer to the unmanaged object. The managed object to be converted. Marshals an object from unmanaged code to managed code. A managed object. A pointer to the unmanaged object to be converted. Marshals the unmanaged ITypeInfo interface to the managed class, and marshals the managed class to the unmanaged ITypeInfo interface. Performs necessary cleanup of the managed data when it is no longer needed. The managed object to be destroyed. Performs necessary cleanup of the unmanaged data when it is no longer needed. A pointer to the unmanaged data to be destroyed. Returns an instance of the custom marshaler. An instance of the custom marshaler. String "cookie" parameter that can be used by the custom marshaler. Returns the size in bytes of the unmanaged data to be marshaled. -1 to indicate the type this marshaler handles is not a value type. Marshals an object from managed code to unmanaged code. A pointer to the unmanaged object. The managed object to be converted. Marshals an object from unmanaged code to managed code. A managed object. A pointer to the unmanaged object to be converted. Provides the static class constructor. Provides the static class constructor. Provides the static class constructor. Provides the static class constructor.