Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
IClassFactory.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Diagnostics.CodeAnalysis
;
3
using
System.Runtime.InteropServices
;
4
5
namespace
Internal.Runtime.InteropServices
;
6
7
[ComImport]
8
[ComVisible(
false
)]
9
[
Guid
(
"00000001-0000-0000-C000-000000000046"
)]
10
[InterfaceType(
ComInterfaceType
.InterfaceIsIUnknown)]
11
public
interface
IClassFactory
12
{
13
[RequiresUnreferencedCode(
"Built-in COM support is not trim compatible"
, Url =
"https://aka.ms/dotnet-illink/com"
)]
14
void
CreateInstance
([MarshalAs(
UnmanagedType
.Interface)]
object
? pUnkOuter, ref
Guid
riid, out
IntPtr
ppvObject);
15
16
void
LockServer
([MarshalAs(
UnmanagedType
.Bool)]
bool
fLock);
17
}
Internal.Runtime.InteropServices.IClassFactory.LockServer
void LockServer([MarshalAs(UnmanagedType.Bool)] bool fLock)
Internal.Runtime.InteropServices.IClassFactory.CreateInstance
void CreateInstance([MarshalAs(UnmanagedType.Interface)] object? pUnkOuter, ref Guid riid, out IntPtr ppvObject)
Internal.Runtime.InteropServices.IClassFactory
Definition
IClassFactory.cs:12
Internal.Runtime.InteropServices
Definition
ComActivationContext.cs:5
System.Diagnostics.CodeAnalysis
Definition
AllowNullAttribute.cs:1
System.Runtime.InteropServices.ComInterfaceType
ComInterfaceType
Definition
ComInterfaceType.cs:4
System.Runtime.InteropServices.UnmanagedType
UnmanagedType
Definition
UnmanagedType.cs:4
System.Runtime.InteropServices
Definition
SequenceMarshal.cs:4
System
Definition
BlockingCollection.cs:8
System.Guid
Definition
Guid.cs:15
System.IntPtr
Definition
IntPtr.cs:14
source
System.Private.CoreLib
Internal.Runtime.InteropServices
IClassFactory.cs
Generated by
1.10.0