Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ICustomMarshaler.cs « System.Runtime.InteropServices « corlib « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 90a2b29b619fe305be81d393d0f7756c60a2b958 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//
// System.Runtime.InteropServices.ICustomMarshaler.cs
//
// Author:
//   Kevin Winchester (kwin@ns.sympatico.ca)
//
// (C) 2002 Kevin Winchester
//

namespace System.Runtime.InteropServices {

	public interface ICustomMarshaler {
		void CleanUpManagedData (object ManagedObj);
		void CleanUpNativeData (IntPtr pNativeData);
		int GetNativeDataSize ();
		IntPtr MarshalManagedToNative (object ManagedObj);
		object MarshalNativeToManaged (IntPtr pNativeData);
	}
}