Terraria
v1.4.4.9
Terraria source code documentation
Toggle main menu visibility
Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Events
_
a
c
d
e
f
i
l
m
o
p
r
s
t
u
w
Files
File List
File Members
All
Enumerations
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Properties
Events
Macros
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
}
6
internal
static
class
InterfaceMarshaler
{
…
};
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