Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
InterfaceMarshaler.cs
Go to the documentation of this file.
1
using
System.Runtime.CompilerServices
;
2
using
System.Runtime.InteropServices
;
3
4
namespace
System.StubHelpers
;
5
6
internal
static
class
InterfaceMarshaler
7
{
8
[MethodImpl(
MethodImplOptions
.InternalCall)]
9
internal
static
extern
IntPtr
ConvertToNative
(
object
objSrc,
IntPtr
itfMT,
IntPtr
classMT,
int
flags);
10
11
[MethodImpl(
MethodImplOptions
.InternalCall)]
12
internal
static
extern
object
ConvertToManaged
(ref
IntPtr
ppUnk,
IntPtr
itfMT,
IntPtr
classMT,
int
flags);
13
14
[DllImport(
"QCall"
)]
15
internal
static
extern
void
ClearNative
(
IntPtr
pUnk);
16
}
System.StubHelpers.InterfaceMarshaler.ConvertToManaged
static object ConvertToManaged(ref IntPtr ppUnk, IntPtr itfMT, IntPtr classMT, int flags)
System.StubHelpers.InterfaceMarshaler.ClearNative
static void ClearNative(IntPtr pUnk)
System.StubHelpers.InterfaceMarshaler.ConvertToNative
static IntPtr ConvertToNative(object objSrc, IntPtr itfMT, IntPtr classMT, int flags)
System.StubHelpers.InterfaceMarshaler
Definition
InterfaceMarshaler.cs:7
System.Runtime.CompilerServices.MethodImplOptions
MethodImplOptions
Definition
MethodImplOptions.cs:5
System.Runtime.CompilerServices
Definition
NullablePublicOnlyAttribute.cs:3
System.Runtime.InteropServices
Definition
SequenceMarshal.cs:4
System.StubHelpers
Definition
AnsiBSTRMarshaler.cs:3
System.IntPtr
Definition
IntPtr.cs:14
source
System.Private.CoreLib
System.StubHelpers
InterfaceMarshaler.cs
Generated by
1.10.0