CustomMarshalers Marshals the COM 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. String "cookie" parameter that can be used by the custom marshaler. An instance of 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. The managed object to be converted. A pointer to the unmanaged object. is . Marshals an object from unmanaged code to managed code. A pointer to the unmanaged object to be converted. A managed object. is . Marshals the COM 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. String "cookie" parameter that can be used by the custom marshaler. An instance of 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. The managed object to be converted. A pointer to the unmanaged object. is . Marshals an object from unmanaged code to managed code. A pointer to the unmanaged object to be converted. A managed object. is . The unmanaged object that points to could not be converted. Marshals the COM 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. String "cookie" parameter that can be used by the custom marshaler. An instance of the custom marshaler. is invalid. 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. The managed object to be converted. A pointer to the unmanaged object. is . Marshals an object from unmanaged code to managed code. A pointer to the unmanaged object to be converted. A managed object. is . Marshals the unmanaged interface to the managed class, and marshals the managed class to the unmanaged 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. String "cookie" parameter that can be used by the custom marshaler. An instance of 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. The managed object to be converted. A pointer to the unmanaged object. is . Marshals an object from unmanaged code to managed code. A pointer to the unmanaged object to be converted. A managed object. is .