Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
IClassFactory2.cs
Go to the documentation of this file.
1using System;
4
6
7[ComImport]
8[ComVisible(false)]
9[Guid("B196B28F-BAB4-101A-B69C-00AA00341D07")]
10[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
11internal interface IClassFactory2 : IClassFactory
12{
13 [RequiresUnreferencedCode("Built-in COM support is not trim compatible", Url = "https://aka.ms/dotnet-illink/com")]
14 new void CreateInstance([MarshalAs(UnmanagedType.Interface)] object pUnkOuter, ref Guid riid, out IntPtr ppvObject);
15
16 new void LockServer([MarshalAs(UnmanagedType.Bool)] bool fLock);
17
18 void GetLicInfo(ref LICINFO pLicInfo);
19
20 void RequestLicKey(int dwReserved, [MarshalAs(UnmanagedType.BStr)] out string pBstrKey);
21
22 void CreateInstanceLic([MarshalAs(UnmanagedType.Interface)] object pUnkOuter, [MarshalAs(UnmanagedType.Interface)] object pUnkReserved, ref Guid riid, [MarshalAs(UnmanagedType.BStr)] string bstrKey, out IntPtr ppvObject);
23}
void RequestLicKey(int dwReserved, [MarshalAs(UnmanagedType.BStr)] out string pBstrKey)
void CreateInstanceLic([MarshalAs(UnmanagedType.Interface)] object pUnkOuter, [MarshalAs(UnmanagedType.Interface)] object pUnkReserved, ref Guid riid, [MarshalAs(UnmanagedType.BStr)] string bstrKey, out IntPtr ppvObject)
new void CreateInstance([MarshalAs(UnmanagedType.Interface)] object pUnkOuter, ref Guid riid, out IntPtr ppvObject)
new void LockServer([MarshalAs(UnmanagedType.Bool)] bool fLock)