scripts
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
using System;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Designed to provide custom wrappers for handling method calls.</summary>
|
||||
// Token: 0x0200031B RID: 795
|
||||
[ComVisible(true)]
|
||||
public interface ICustomMarshaler
|
||||
{
|
||||
/// <summary>Performs necessary cleanup of the managed data when it is no longer needed.</summary>
|
||||
/// <param name="ManagedObj">The managed object to be destroyed. </param>
|
||||
// Token: 0x0600221D RID: 8733
|
||||
void CleanUpManagedData(object ManagedObj);
|
||||
|
||||
/// <summary>Performs necessary cleanup of the unmanaged data when it is no longer needed.</summary>
|
||||
/// <param name="pNativeData">A pointer to the unmanaged data to be destroyed. </param>
|
||||
// Token: 0x0600221E RID: 8734
|
||||
void CleanUpNativeData(IntPtr pNativeData);
|
||||
|
||||
/// <summary>Returns the size of the native data to be marshaled.</summary>
|
||||
/// <returns>The size in bytes of the native data.</returns>
|
||||
// Token: 0x0600221F RID: 8735
|
||||
int GetNativeDataSize();
|
||||
|
||||
/// <summary>Converts the managed data to unmanaged data.</summary>
|
||||
/// <returns>Returns the COM view of the managed object.</returns>
|
||||
/// <param name="ManagedObj">The managed object to be converted. </param>
|
||||
// Token: 0x06002220 RID: 8736
|
||||
IntPtr MarshalManagedToNative(object ManagedObj);
|
||||
|
||||
/// <summary>Converts the unmanaged data to managed data.</summary>
|
||||
/// <returns>Returns the managed view of the COM data.</returns>
|
||||
/// <param name="pNativeData">A pointer to the unmanaged data to be wrapped. </param>
|
||||
// Token: 0x06002221 RID: 8737
|
||||
object MarshalNativeToManaged(IntPtr pNativeData);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user