This documentation is archived and is not being maintained.
Designed to provide custom wrappers for handling method calls.
The ICustomMarshaler type exposes the following members.
|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.|