Designed to provide custom wrappers for handling method calls.
The following tables list the members exposed by the ICustomMarshaler type.
|CleanUpManagedData||Performs necessary cleanup of the managed data when it is no longer needed.|
|CleanUpNativeData||Performs necessary cleanup of the unmanaged data when it is no longer needed.|
|GetNativeDataSize||Returns the size of the native data to be marshaled.|
|MarshalManagedToNative||Converts the managed data to unmanaged data.|
|MarshalNativeToManaged||Converts the unmanaged data to managed data.|