m
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>The exception that is thrown when an unrecognized HRESULT is returned from a COM method call.</summary>
|
||||
// Token: 0x0200059B RID: 1435
|
||||
[Token(Token = "0x200059B")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public class COMException : ExternalException
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.COMException" /> class with default values.</summary>
|
||||
// Token: 0x06002CBE RID: 11454 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CBE")]
|
||||
[Address(RVA = "0x2CE9310", Offset = "0x2CE8310", VA = "0x182CE9310")]
|
||||
public COMException()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.COMException" /> class with a specified message and error code.</summary>
|
||||
/// <param name="message">The message that indicates the reason the exception occurred.</param>
|
||||
/// <param name="errorCode">The error code (HRESULT) value associated with this exception.</param>
|
||||
// Token: 0x06002CBF RID: 11455 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CBF")]
|
||||
[Address(RVA = "0x2CE9380", Offset = "0x2CE8380", VA = "0x182CE9380")]
|
||||
public COMException(string message, int errorCode)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.COMException" /> class from serialization data.</summary>
|
||||
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object that holds the serialized object data.</param>
|
||||
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> object that supplies the contextual information about the source or destination.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="info" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x06002CC0 RID: 11456 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CC0")]
|
||||
[Address(RVA = "0x7241B0", Offset = "0x7231B0", VA = "0x1807241B0")]
|
||||
protected COMException(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Converts the contents of the exception to a string.</summary>
|
||||
/// <returns>A string containing the <see cref="P:System.Exception.HResult" />, <see cref="P:System.Exception.Message" />, <see cref="P:System.Exception.InnerException" />, and <see cref="P:System.Exception.StackTrace" /> properties of the exception.</returns>
|
||||
// Token: 0x06002CC1 RID: 11457 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002CC1")]
|
||||
[Address(RVA = "0x2CE9170", Offset = "0x2CE8170", VA = "0x182CE9170", Slot = "3")]
|
||||
public override string ToString()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Specifies the calling convention required to call methods implemented in unmanaged code.</summary>
|
||||
// Token: 0x02000599 RID: 1433
|
||||
[Token(Token = "0x2000599")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public enum CallingConvention
|
||||
{
|
||||
/// <summary>This member is not actually a calling convention, but instead uses the default platform calling convention. For example, on Windows the default is <see cref="F:System.Runtime.InteropServices.CallingConvention.StdCall" /> and on Windows CE.NET it is <see cref="F:System.Runtime.InteropServices.CallingConvention.Cdecl" />.</summary>
|
||||
// Token: 0x040019EB RID: 6635
|
||||
[Token(Token = "0x40019EB")]
|
||||
Winapi = 1,
|
||||
/// <summary>The caller cleans the stack. This enables calling functions with <see langword="varargs" />, which makes it appropriate to use for methods that accept a variable number of parameters, such as <see langword="Printf" />.</summary>
|
||||
// Token: 0x040019EC RID: 6636
|
||||
[Token(Token = "0x40019EC")]
|
||||
Cdecl,
|
||||
/// <summary>The callee cleans the stack. This is the default convention for calling unmanaged functions with platform invoke.</summary>
|
||||
// Token: 0x040019ED RID: 6637
|
||||
[Token(Token = "0x40019ED")]
|
||||
StdCall,
|
||||
/// <summary>The first parameter is the <see langword="this" /> pointer and is stored in register ECX. Other parameters are pushed on the stack. This calling convention is used to call methods on classes exported from an unmanaged DLL.</summary>
|
||||
// Token: 0x040019EE RID: 6638
|
||||
[Token(Token = "0x40019EE")]
|
||||
ThisCall,
|
||||
/// <summary>This calling convention is not supported.</summary>
|
||||
// Token: 0x040019EF RID: 6639
|
||||
[Token(Token = "0x40019EF")]
|
||||
FastCall
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Dictates which character set marshaled strings should use.</summary>
|
||||
// Token: 0x0200059A RID: 1434
|
||||
[Token(Token = "0x200059A")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public enum CharSet
|
||||
{
|
||||
/// <summary>This value is obsolete and has the same behavior as <see cref="F:System.Runtime.InteropServices.CharSet.Ansi" />.</summary>
|
||||
// Token: 0x040019F1 RID: 6641
|
||||
[Token(Token = "0x40019F1")]
|
||||
None = 1,
|
||||
/// <summary>Marshal strings as multiple-byte character strings.</summary>
|
||||
// Token: 0x040019F2 RID: 6642
|
||||
[Token(Token = "0x40019F2")]
|
||||
Ansi,
|
||||
/// <summary>Marshal strings as Unicode 2-byte characters.</summary>
|
||||
// Token: 0x040019F3 RID: 6643
|
||||
[Token(Token = "0x40019F3")]
|
||||
Unicode,
|
||||
/// <summary>Automatically marshal strings appropriately for the target operating system. The default is <see cref="F:System.Runtime.InteropServices.CharSet.Unicode" /> on Windows NT, Windows 2000, Windows XP, and the Windows Server 2003 family; the default is <see cref="F:System.Runtime.InteropServices.CharSet.Ansi" /> on Windows 98 and Windows Me. Although the common language runtime default is <see cref="F:System.Runtime.InteropServices.CharSet.Auto" />, languages may override this default. For example, by default C# marks all methods and types as <see cref="F:System.Runtime.InteropServices.CharSet.Ansi" />.</summary>
|
||||
// Token: 0x040019F4 RID: 6644
|
||||
[Token(Token = "0x40019F4")]
|
||||
Auto
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Indicates the type of class interface to be generated for a class exposed to COM, if an interface is generated at all.</summary>
|
||||
// Token: 0x0200058A RID: 1418
|
||||
[Token(Token = "0x200058A")]
|
||||
[ComVisible(true)]
|
||||
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class)]
|
||||
public sealed class ClassInterfaceAttribute : Attribute
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.ClassInterfaceAttribute" /> class with the specified <see cref="T:System.Runtime.InteropServices.ClassInterfaceType" /> enumeration member.</summary>
|
||||
/// <param name="classInterfaceType">One of the <see cref="T:System.Runtime.InteropServices.ClassInterfaceType" /> values that describes the type of interface that is generated for a class.</param>
|
||||
// Token: 0x06002CAD RID: 11437 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CAD")]
|
||||
[Address(RVA = "0x41F8E0", Offset = "0x41E8E0", VA = "0x18041F8E0")]
|
||||
public ClassInterfaceAttribute(ClassInterfaceType classInterfaceType)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400197C RID: 6524
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400197C")]
|
||||
internal ClassInterfaceType _val;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Identifies the type of class interface that is generated for a class.</summary>
|
||||
// Token: 0x02000589 RID: 1417
|
||||
[Token(Token = "0x2000589")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public enum ClassInterfaceType
|
||||
{
|
||||
/// <summary>Indicates that no class interface is generated for the class. If no interfaces are implemented explicitly, the class can only provide late-bound access through the <see langword="IDispatch" /> interface. This is the recommended setting for <see cref="T:System.Runtime.InteropServices.ClassInterfaceAttribute" />. Using <see langword="ClassInterfaceType.None" /> is the only way to expose functionality through interfaces implemented explicitly by the class.</summary>
|
||||
// Token: 0x04001979 RID: 6521
|
||||
[Token(Token = "0x4001979")]
|
||||
None,
|
||||
/// <summary>Indicates that the class only supports late binding for COM clients. A <see langword="dispinterface" /> for the class is automatically exposed to COM clients on request. The type library produced by Tlbexp.exe (Type Library Exporter) does not contain type information for the <see langword="dispinterface" /> in order to prevent clients from caching the DISPIDs of the interface. The <see langword="dispinterface" /> does not exhibit the versioning problems described in <see cref="T:System.Runtime.InteropServices.ClassInterfaceAttribute" /> because clients can only late-bind to the interface.</summary>
|
||||
// Token: 0x0400197A RID: 6522
|
||||
[Token(Token = "0x400197A")]
|
||||
AutoDispatch,
|
||||
/// <summary>Indicates that a dual class interface is automatically generated for the class and exposed to COM. Type information is produced for the class interface and published in the type library. Using <see langword="AutoDual" /> is strongly discouraged because of the versioning limitations described in <see cref="T:System.Runtime.InteropServices.ClassInterfaceAttribute" />.</summary>
|
||||
// Token: 0x0400197B RID: 6523
|
||||
[Token(Token = "0x400197B")]
|
||||
AutoDual
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Indicates to a COM client that all classes in the current version of an assembly are compatible with classes in an earlier version of the assembly.</summary>
|
||||
// Token: 0x02000598 RID: 1432
|
||||
[Token(Token = "0x2000598")]
|
||||
[AttributeUsage(AttributeTargets.Assembly)]
|
||||
[ComVisible(true)]
|
||||
public sealed class ComCompatibleVersionAttribute : Attribute
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.ComCompatibleVersionAttribute" /> class with the major version, minor version, build, and revision numbers of the assembly.</summary>
|
||||
/// <param name="major">The major version number of the assembly.</param>
|
||||
/// <param name="minor">The minor version number of the assembly.</param>
|
||||
/// <param name="build">The build number of the assembly.</param>
|
||||
/// <param name="revision">The revision number of the assembly.</param>
|
||||
// Token: 0x06002CBD RID: 11453 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CBD")]
|
||||
[Address(RVA = "0x2CEC290", Offset = "0x2CEB290", VA = "0x182CEC290")]
|
||||
public ComCompatibleVersionAttribute(int major, int minor, int build, int revision)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040019E6 RID: 6630
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40019E6")]
|
||||
internal int _major;
|
||||
|
||||
// Token: 0x040019E7 RID: 6631
|
||||
[FieldOffset(Offset = "0x14")]
|
||||
[Token(Token = "0x40019E7")]
|
||||
internal int _minor;
|
||||
|
||||
// Token: 0x040019E8 RID: 6632
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40019E8")]
|
||||
internal int _build;
|
||||
|
||||
// Token: 0x040019E9 RID: 6633
|
||||
[FieldOffset(Offset = "0x1C")]
|
||||
[Token(Token = "0x40019E9")]
|
||||
internal int _revision;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Specifies a default interface to expose to COM. This class cannot be inherited.</summary>
|
||||
// Token: 0x02000588 RID: 1416
|
||||
[Token(Token = "0x2000588")]
|
||||
[ComVisible(true)]
|
||||
[AttributeUsage(AttributeTargets.Class)]
|
||||
public sealed class ComDefaultInterfaceAttribute : Attribute
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.ComDefaultInterfaceAttribute" /> class with the specified <see cref="T:System.Type" /> object as the default interface exposed to COM.</summary>
|
||||
/// <param name="defaultInterface">A <see cref="T:System.Type" /> value indicating the default interface to expose to COM.</param>
|
||||
// Token: 0x06002CAC RID: 11436 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CAC")]
|
||||
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
|
||||
public ComDefaultInterfaceAttribute(Type defaultInterface)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001977 RID: 6519
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001977")]
|
||||
internal Type _val;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Indicates that the attributed type was previously defined in COM.</summary>
|
||||
// Token: 0x0200058E RID: 1422
|
||||
[Token(Token = "0x200058E")]
|
||||
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface)]
|
||||
[ComVisible(true)]
|
||||
public sealed class ComImportAttribute : Attribute
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.ComImportAttribute" />.</summary>
|
||||
// Token: 0x06002CAF RID: 11439 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CAF")]
|
||||
[Address(RVA = "0x42BA20", Offset = "0x42AA20", VA = "0x18042BA20")]
|
||||
public ComImportAttribute()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Identifies how to expose an interface to COM.</summary>
|
||||
// Token: 0x02000586 RID: 1414
|
||||
[Token(Token = "0x2000586")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public enum ComInterfaceType
|
||||
{
|
||||
/// <summary>Indicates that the interface is exposed to COM as a dual interface, which enables both early and late binding. <see cref="F:System.Runtime.InteropServices.ComInterfaceType.InterfaceIsDual" /> is the default value.</summary>
|
||||
// Token: 0x04001972 RID: 6514
|
||||
[Token(Token = "0x4001972")]
|
||||
InterfaceIsDual,
|
||||
/// <summary>Indicates that an interface is exposed to COM as an interface that is derived from IUnknown, which enables only early binding.</summary>
|
||||
// Token: 0x04001973 RID: 6515
|
||||
[Token(Token = "0x4001973")]
|
||||
InterfaceIsIUnknown,
|
||||
/// <summary>Indicates that an interface is exposed to COM as a dispinterface, which enables late binding only.</summary>
|
||||
// Token: 0x04001974 RID: 6516
|
||||
[Token(Token = "0x4001974")]
|
||||
InterfaceIsIDispatch,
|
||||
/// <summary>Indicates that an interface is exposed to COM as a Windows Runtime interface.</summary>
|
||||
// Token: 0x04001975 RID: 6517
|
||||
[Token(Token = "0x4001975")]
|
||||
[ComVisible(false)]
|
||||
InterfaceIsIInspectable
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices.ComTypes
|
||||
{
|
||||
/// <summary>Represents the number of 100-nanosecond intervals since January 1, 1601. This structure is a 64-bit value.</summary>
|
||||
// Token: 0x020005B9 RID: 1465
|
||||
[Token(Token = "0x20005B9")]
|
||||
public struct FILETIME
|
||||
{
|
||||
/// <summary>Specifies the low 32 bits of the <see langword="FILETIME" />.</summary>
|
||||
// Token: 0x04001A11 RID: 6673
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001A11")]
|
||||
public int dwLowDateTime;
|
||||
|
||||
/// <summary>Specifies the high 32 bits of the <see langword="FILETIME" />.</summary>
|
||||
// Token: 0x04001A12 RID: 6674
|
||||
[FieldOffset(Offset = "0x4")]
|
||||
[Token(Token = "0x4001A12")]
|
||||
public int dwHighDateTime;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,104 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices.ComTypes
|
||||
{
|
||||
/// <summary>Provides the managed definition of the <see langword="IStream" /> interface, with <see langword="ISequentialStream" /> functionality.</summary>
|
||||
// Token: 0x020005BB RID: 1467
|
||||
[Token(Token = "0x20005BB")]
|
||||
[Guid("0000000c-0000-0000-C000-000000000046")]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
[ComImport]
|
||||
public interface IStream
|
||||
{
|
||||
/// <summary>Reads a specified number of bytes from the stream object into memory starting at the current seek pointer.</summary>
|
||||
/// <param name="pv">When this method returns, contains the data read from the stream. This parameter is passed uninitialized.</param>
|
||||
/// <param name="cb">The number of bytes to read from the stream object.</param>
|
||||
/// <param name="pcbRead">A pointer to a <see langword="ULONG" /> variable that receives the actual number of bytes read from the stream object.</param>
|
||||
// Token: 0x06002D4D RID: 11597
|
||||
[Token(Token = "0x6002D4D")]
|
||||
[Address(RVA = "0x2CEE740", Offset = "0x2CED740", VA = "0x182CEE740", Slot = "0")]
|
||||
void Read([Out] byte[] pv, int cb, IntPtr pcbRead);
|
||||
|
||||
/// <summary>Writes a specified number of bytes into the stream object starting at the current seek pointer.</summary>
|
||||
/// <param name="pv">The buffer to write this stream to.</param>
|
||||
/// <param name="cb">The number of bytes to write to the stream.</param>
|
||||
/// <param name="pcbWritten">On successful return, contains the actual number of bytes written to the stream object. If the caller sets this pointer to <see cref="F:System.IntPtr.Zero" />, this method does not provide the actual number of bytes written.</param>
|
||||
// Token: 0x06002D4E RID: 11598
|
||||
[Token(Token = "0x6002D4E")]
|
||||
[Address(RVA = "0x2CEEA50", Offset = "0x2CEDA50", VA = "0x182CEEA50", Slot = "1")]
|
||||
void Write(byte[] pv, int cb, IntPtr pcbWritten);
|
||||
|
||||
/// <summary>Changes the seek pointer to a new location relative to the beginning of the stream, to the end of the stream, or to the current seek pointer.</summary>
|
||||
/// <param name="dlibMove">The displacement to add to <paramref name="dwOrigin" />.</param>
|
||||
/// <param name="dwOrigin">The origin of the seek. The origin can be the beginning of the file, the current seek pointer, or the end of the file.</param>
|
||||
/// <param name="plibNewPosition">On successful return, contains the offset of the seek pointer from the beginning of the stream.</param>
|
||||
// Token: 0x06002D4F RID: 11599
|
||||
[Token(Token = "0x6002D4F")]
|
||||
[Address(RVA = "0x2CEE840", Offset = "0x2CED840", VA = "0x182CEE840", Slot = "2")]
|
||||
void Seek(long dlibMove, int dwOrigin, IntPtr plibNewPosition);
|
||||
|
||||
/// <summary>Changes the size of the stream object.</summary>
|
||||
/// <param name="libNewSize">The new size of the stream as a number of bytes.</param>
|
||||
// Token: 0x06002D50 RID: 11600
|
||||
[Token(Token = "0x6002D50")]
|
||||
[Address(RVA = "0x2CEE8A0", Offset = "0x2CED8A0", VA = "0x182CEE8A0", Slot = "3")]
|
||||
void SetSize(long libNewSize);
|
||||
|
||||
/// <summary>Copies a specified number of bytes from the current seek pointer in the stream to the current seek pointer in another stream.</summary>
|
||||
/// <param name="pstm">A reference to the destination stream.</param>
|
||||
/// <param name="cb">The number of bytes to copy from the source stream.</param>
|
||||
/// <param name="pcbRead">On successful return, contains the actual number of bytes read from the source.</param>
|
||||
/// <param name="pcbWritten">On successful return, contains the actual number of bytes written to the destination.</param>
|
||||
// Token: 0x06002D51 RID: 11601
|
||||
[Token(Token = "0x6002D51")]
|
||||
[Address(RVA = "0x2CEE630", Offset = "0x2CED630", VA = "0x182CEE630", Slot = "4")]
|
||||
void CopyTo(IStream pstm, long cb, IntPtr pcbRead, IntPtr pcbWritten);
|
||||
|
||||
/// <summary>Ensures that any changes made to a stream object that is open in transacted mode are reflected in the parent storage.</summary>
|
||||
/// <param name="grfCommitFlags">A value that controls how the changes for the stream object are committed.</param>
|
||||
// Token: 0x06002D52 RID: 11602
|
||||
[Token(Token = "0x6002D52")]
|
||||
[Address(RVA = "0x2CEE5F0", Offset = "0x2CED5F0", VA = "0x182CEE5F0", Slot = "5")]
|
||||
void Commit(int grfCommitFlags);
|
||||
|
||||
/// <summary>Discards all changes that have been made to a transacted stream since the last <see cref="M:System.Runtime.InteropServices.ComTypes.IStream.Commit(System.Int32)" /> call.</summary>
|
||||
// Token: 0x06002D53 RID: 11603
|
||||
[Token(Token = "0x6002D53")]
|
||||
[Address(RVA = "0x2CEE810", Offset = "0x2CED810", VA = "0x182CEE810", Slot = "6")]
|
||||
void Revert();
|
||||
|
||||
/// <summary>Restricts access to a specified range of bytes in the stream.</summary>
|
||||
/// <param name="libOffset">The byte offset for the beginning of the range.</param>
|
||||
/// <param name="cb">The length of the range, in bytes, to restrict.</param>
|
||||
/// <param name="dwLockType">The requested restrictions on accessing the range.</param>
|
||||
// Token: 0x06002D54 RID: 11604
|
||||
[Token(Token = "0x6002D54")]
|
||||
[Address(RVA = "0x2CEE6E0", Offset = "0x2CED6E0", VA = "0x182CEE6E0", Slot = "7")]
|
||||
void LockRegion(long libOffset, long cb, int dwLockType);
|
||||
|
||||
/// <summary>Removes the access restriction on a range of bytes previously restricted with the <see cref="M:System.Runtime.InteropServices.ComTypes.IStream.LockRegion(System.Int64,System.Int64,System.Int32)" /> method.</summary>
|
||||
/// <param name="libOffset">The byte offset for the beginning of the range.</param>
|
||||
/// <param name="cb">The length, in bytes, of the range to restrict.</param>
|
||||
/// <param name="dwLockType">The access restrictions previously placed on the range.</param>
|
||||
// Token: 0x06002D55 RID: 11605
|
||||
[Token(Token = "0x6002D55")]
|
||||
[Address(RVA = "0x2CEE9F0", Offset = "0x2CED9F0", VA = "0x182CEE9F0", Slot = "8")]
|
||||
void UnlockRegion(long libOffset, long cb, int dwLockType);
|
||||
|
||||
/// <summary>Retrieves the <see cref="T:System.Runtime.InteropServices.STATSTG" /> structure for this stream.</summary>
|
||||
/// <param name="pstatstg">When this method returns, contains a <see langword="STATSTG" /> structure that describes this stream object. This parameter is passed uninitialized.</param>
|
||||
/// <param name="grfStatFlag">Members in the <see langword="STATSTG" /> structure that this method does not return, thus saving some memory allocation operations.</param>
|
||||
// Token: 0x06002D56 RID: 11606
|
||||
[Token(Token = "0x6002D56")]
|
||||
[Address(RVA = "0x2CEE8E0", Offset = "0x2CED8E0", VA = "0x182CEE8E0", Slot = "9")]
|
||||
void Stat(out STATSTG pstatstg, int grfStatFlag);
|
||||
|
||||
/// <summary>Creates a new stream object with its own seek pointer that references the same bytes as the original stream.</summary>
|
||||
/// <param name="ppstm">When this method returns, contains the new stream object. This parameter is passed uninitialized.</param>
|
||||
// Token: 0x06002D57 RID: 11607
|
||||
[Token(Token = "0x6002D57")]
|
||||
[Address(RVA = "0x2CEE530", Offset = "0x2CED530", VA = "0x182CEE530", Slot = "10")]
|
||||
void Clone(out IStream ppstm);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,78 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices.ComTypes
|
||||
{
|
||||
/// <summary>Contains statistical information about an open storage, stream, or byte-array object.</summary>
|
||||
// Token: 0x020005BA RID: 1466
|
||||
[Token(Token = "0x20005BA")]
|
||||
[StructLayout(0, CharSet = CharSet.Unicode)]
|
||||
public struct STATSTG
|
||||
{
|
||||
/// <summary>Represents a pointer to a null-terminated string containing the name of the object described by this structure.</summary>
|
||||
// Token: 0x04001A13 RID: 6675
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4001A13")]
|
||||
public string pwcsName;
|
||||
|
||||
/// <summary>Indicates the type of storage object, which is one of the values from the <see langword="STGTY" /> enumeration.</summary>
|
||||
// Token: 0x04001A14 RID: 6676
|
||||
[FieldOffset(Offset = "0x8")]
|
||||
[Token(Token = "0x4001A14")]
|
||||
public int type;
|
||||
|
||||
/// <summary>Specifies the size, in bytes, of the stream or byte array.</summary>
|
||||
// Token: 0x04001A15 RID: 6677
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001A15")]
|
||||
public long cbSize;
|
||||
|
||||
/// <summary>Indicates the last modification time for this storage, stream, or byte array.</summary>
|
||||
// Token: 0x04001A16 RID: 6678
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4001A16")]
|
||||
public FILETIME mtime;
|
||||
|
||||
/// <summary>Indicates the creation time for this storage, stream, or byte array.</summary>
|
||||
// Token: 0x04001A17 RID: 6679
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4001A17")]
|
||||
public FILETIME ctime;
|
||||
|
||||
/// <summary>Specifies the last access time for this storage, stream, or byte array.</summary>
|
||||
// Token: 0x04001A18 RID: 6680
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4001A18")]
|
||||
public FILETIME atime;
|
||||
|
||||
/// <summary>Indicates the access mode that was specified when the object was opened.</summary>
|
||||
// Token: 0x04001A19 RID: 6681
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4001A19")]
|
||||
public int grfMode;
|
||||
|
||||
/// <summary>Indicates the types of region locking supported by the stream or byte array.</summary>
|
||||
// Token: 0x04001A1A RID: 6682
|
||||
[FieldOffset(Offset = "0x34")]
|
||||
[Token(Token = "0x4001A1A")]
|
||||
public int grfLocksSupported;
|
||||
|
||||
/// <summary>Indicates the class identifier for the storage object.</summary>
|
||||
// Token: 0x04001A1B RID: 6683
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4001A1B")]
|
||||
public Guid clsid;
|
||||
|
||||
/// <summary>Indicates the current state bits of the storage object (the value most recently set by the <see langword="IStorage::SetStateBits" /> method).</summary>
|
||||
// Token: 0x04001A1C RID: 6684
|
||||
[FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x4001A1C")]
|
||||
public int grfStateBits;
|
||||
|
||||
/// <summary>Reserved for future use.</summary>
|
||||
// Token: 0x04001A1D RID: 6685
|
||||
[FieldOffset(Offset = "0x4C")]
|
||||
[Token(Token = "0x4001A1D")]
|
||||
public int reserved;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Controls accessibility of an individual managed type or member, or of all types within an assembly, to COM.</summary>
|
||||
// Token: 0x0200058B RID: 1419
|
||||
[Token(Token = "0x200058B")]
|
||||
[ComVisible(true)]
|
||||
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Interface | AttributeTargets.Delegate)]
|
||||
public sealed class ComVisibleAttribute : Attribute
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see langword="ComVisibleAttribute" /> class.</summary>
|
||||
/// <param name="visibility">
|
||||
/// <see langword="true" /> to indicate that the type is visible to COM; otherwise, <see langword="false" />. The default is <see langword="true" />.</param>
|
||||
// Token: 0x06002CAE RID: 11438 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CAE")]
|
||||
[Address(RVA = "0xB9AFE0", Offset = "0xB99FE0", VA = "0x180B9AFE0")]
|
||||
public ComVisibleAttribute(bool visibility)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400197D RID: 6525
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400197D")]
|
||||
internal bool _val;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Specifies the paths that are used to search for DLLs that provide functions for platform invokes.</summary>
|
||||
// Token: 0x02000595 RID: 1429
|
||||
[Token(Token = "0x2000595")]
|
||||
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Method)]
|
||||
[ComVisible(false)]
|
||||
public sealed class DefaultDllImportSearchPathsAttribute : Attribute
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.DefaultDllImportSearchPathsAttribute" /> class, specifying the paths to use when searching for the targets of platform invokes.</summary>
|
||||
/// <param name="paths">A bitwise combination of enumeration values that specify the paths that the LoadLibraryEx function searches during platform invokes.</param>
|
||||
// Token: 0x06002CB6 RID: 11446 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CB6")]
|
||||
[Address(RVA = "0x41F8E0", Offset = "0x41E8E0", VA = "0x18041F8E0")]
|
||||
public DefaultDllImportSearchPathsAttribute(DllImportSearchPath paths)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040019DB RID: 6619
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40019DB")]
|
||||
internal DllImportSearchPath _paths;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Specifies the COM dispatch identifier (DISPID) of a method, field, or property.</summary>
|
||||
// Token: 0x02000585 RID: 1413
|
||||
[Token(Token = "0x2000585")]
|
||||
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event)]
|
||||
[ComVisible(true)]
|
||||
public sealed class DispIdAttribute : Attribute
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see langword="DispIdAttribute" /> class with the specified DISPID.</summary>
|
||||
/// <param name="dispId">The DISPID for the member.</param>
|
||||
// Token: 0x06002CAA RID: 11434 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CAA")]
|
||||
[Address(RVA = "0x41F8E0", Offset = "0x41E8E0", VA = "0x18041F8E0")]
|
||||
public DispIdAttribute(int dispId)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001970 RID: 6512
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001970")]
|
||||
internal int _val;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,114 @@
|
||||
using System;
|
||||
using System.Reflection;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Indicates that the attributed method is exposed by an unmanaged dynamic-link library (DLL) as a static entry point.</summary>
|
||||
// Token: 0x02000596 RID: 1430
|
||||
[Token(Token = "0x2000596")]
|
||||
[AttributeUsage(AttributeTargets.Method)]
|
||||
[ComVisible(true)]
|
||||
public sealed class DllImportAttribute : Attribute
|
||||
{
|
||||
// Token: 0x06002CB7 RID: 11447 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002CB7")]
|
||||
[Address(RVA = "0x2CED790", Offset = "0x2CEC790", VA = "0x182CED790")]
|
||||
internal static Attribute GetCustomAttribute(RuntimeMethodInfo method)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002CB8 RID: 11448 RVA: 0x00018DF8 File Offset: 0x00016FF8
|
||||
[Token(Token = "0x6002CB8")]
|
||||
[Address(RVA = "0x2CEDA40", Offset = "0x2CECA40", VA = "0x182CEDA40")]
|
||||
internal static bool IsDefined(RuntimeMethodInfo method)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06002CB9 RID: 11449 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CB9")]
|
||||
[Address(RVA = "0x2CEDA70", Offset = "0x2CECA70", VA = "0x182CEDA70")]
|
||||
internal DllImportAttribute(string dllName, string entryPoint, CharSet charSet, bool exactSpelling, bool setLastError, bool preserveSig, CallingConvention callingConvention, bool bestFitMapping, bool throwOnUnmappableChar)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.DllImportAttribute" /> class with the name of the DLL containing the method to import.</summary>
|
||||
/// <param name="dllName">The name of the DLL that contains the unmanaged method. This can include an assembly display name, if the DLL is included in an assembly.</param>
|
||||
// Token: 0x06002CBA RID: 11450 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CBA")]
|
||||
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
|
||||
public DllImportAttribute(string dllName)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets the name of the DLL file that contains the entry point.</summary>
|
||||
/// <returns>The name of the DLL file that contains the entry point.</returns>
|
||||
// Token: 0x170006C8 RID: 1736
|
||||
// (get) Token: 0x06002CBB RID: 11451 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170006C8")]
|
||||
public string Value
|
||||
{
|
||||
[Token(Token = "0x6002CBB")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x040019DC RID: 6620
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40019DC")]
|
||||
internal string _val;
|
||||
|
||||
/// <summary>Indicates the name or ordinal of the DLL entry point to be called.</summary>
|
||||
// Token: 0x040019DD RID: 6621
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40019DD")]
|
||||
public string EntryPoint;
|
||||
|
||||
/// <summary>Indicates how to marshal string parameters to the method and controls name mangling.</summary>
|
||||
// Token: 0x040019DE RID: 6622
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x40019DE")]
|
||||
public CharSet CharSet;
|
||||
|
||||
/// <summary>Indicates whether the callee calls the <see langword="SetLastError" /> Win32 API function before returning from the attributed method.</summary>
|
||||
// Token: 0x040019DF RID: 6623
|
||||
[FieldOffset(Offset = "0x24")]
|
||||
[Token(Token = "0x40019DF")]
|
||||
public bool SetLastError;
|
||||
|
||||
/// <summary>Controls whether the <see cref="F:System.Runtime.InteropServices.DllImportAttribute.CharSet" /> field causes the common language runtime to search an unmanaged DLL for entry-point names other than the one specified.</summary>
|
||||
// Token: 0x040019E0 RID: 6624
|
||||
[FieldOffset(Offset = "0x25")]
|
||||
[Token(Token = "0x40019E0")]
|
||||
public bool ExactSpelling;
|
||||
|
||||
/// <summary>Indicates whether unmanaged methods that have <see langword="HRESULT" /> or <see langword="retval" /> return values are directly translated or whether <see langword="HRESULT" /> or <see langword="retval" /> return values are automatically converted to exceptions.</summary>
|
||||
// Token: 0x040019E1 RID: 6625
|
||||
[FieldOffset(Offset = "0x26")]
|
||||
[Token(Token = "0x40019E1")]
|
||||
public bool PreserveSig;
|
||||
|
||||
/// <summary>Indicates the calling convention of an entry point.</summary>
|
||||
// Token: 0x040019E2 RID: 6626
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x40019E2")]
|
||||
public CallingConvention CallingConvention;
|
||||
|
||||
/// <summary>Enables or disables best-fit mapping behavior when converting Unicode characters to ANSI characters.</summary>
|
||||
// Token: 0x040019E3 RID: 6627
|
||||
[FieldOffset(Offset = "0x2C")]
|
||||
[Token(Token = "0x40019E3")]
|
||||
public bool BestFitMapping;
|
||||
|
||||
/// <summary>Enables or disables the throwing of an exception on an unmappable Unicode character that is converted to an ANSI "?" character.</summary>
|
||||
// Token: 0x040019E4 RID: 6628
|
||||
[FieldOffset(Offset = "0x2D")]
|
||||
[Token(Token = "0x40019E4")]
|
||||
public bool ThrowOnUnmappableChar;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Specifies the paths that are used to search for DLLs that provide functions for platform invokes.</summary>
|
||||
// Token: 0x02000594 RID: 1428
|
||||
[Token(Token = "0x2000594")]
|
||||
[Flags]
|
||||
public enum DllImportSearchPath
|
||||
{
|
||||
/// <summary>Search for the dependencies of a DLL in the folder where the DLL is located before searching other folders.</summary>
|
||||
// Token: 0x040019D4 RID: 6612
|
||||
[Token(Token = "0x40019D4")]
|
||||
UseDllDirectoryForDependencies = 256,
|
||||
/// <summary>Include the application directory in the DLL search path.</summary>
|
||||
// Token: 0x040019D5 RID: 6613
|
||||
[Token(Token = "0x40019D5")]
|
||||
ApplicationDirectory = 512,
|
||||
/// <summary>Include any path that was explicitly added to the process-wide search path by using the Win32 AddDllDirectory function.</summary>
|
||||
// Token: 0x040019D6 RID: 6614
|
||||
[Token(Token = "0x40019D6")]
|
||||
UserDirectories = 1024,
|
||||
/// <summary>Include the <see langword="%WinDir%\System32" /> directory in the DLL search path.</summary>
|
||||
// Token: 0x040019D7 RID: 6615
|
||||
[Token(Token = "0x40019D7")]
|
||||
System32 = 2048,
|
||||
/// <summary>Include the application directory, the <see langword="%WinDir%\System32" /> directory, and user directories in the DLL search path.</summary>
|
||||
// Token: 0x040019D8 RID: 6616
|
||||
[Token(Token = "0x40019D8")]
|
||||
SafeDirectories = 4096,
|
||||
/// <summary>When searching for assembly dependencies, include the directory that contains the assembly itself, and search that directory first. This value is used by the .NET Framework, before the paths are passed to the Win32 LoadLibraryEx function.</summary>
|
||||
// Token: 0x040019D9 RID: 6617
|
||||
[Token(Token = "0x40019D9")]
|
||||
AssemblyDirectory = 2,
|
||||
/// <summary>Search the application directory, and then call the Win32 LoadLibraryEx function with the LOAD_WITH_ALTERED_SEARCH_PATH flag. This value is ignored if any other value is specified. Operating systems that do not support the <see cref="T:System.Runtime.InteropServices.DefaultDllImportSearchPathsAttribute" /> attribute use this value, and ignore other values.</summary>
|
||||
// Token: 0x040019DA RID: 6618
|
||||
[Token(Token = "0x40019DA")]
|
||||
LegacyBehavior = 0
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Wraps objects the marshaler should marshal as a <see langword="VT_ERROR" />.</summary>
|
||||
// Token: 0x0200059C RID: 1436
|
||||
[Token(Token = "0x200059C")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public sealed class ErrorWrapper
|
||||
{
|
||||
// Token: 0x040019F5 RID: 6645
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40019F5")]
|
||||
private int m_ErrorCode;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,88 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>The base exception type for all COM interop exceptions and structured exception handling (SEH) exceptions.</summary>
|
||||
// Token: 0x0200059D RID: 1437
|
||||
[Token(Token = "0x200059D")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public class ExternalException : SystemException
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see langword="ExternalException" /> class with default properties.</summary>
|
||||
// Token: 0x06002CC2 RID: 11458 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CC2")]
|
||||
[Address(RVA = "0x2CEE010", Offset = "0x2CED010", VA = "0x182CEE010")]
|
||||
public ExternalException()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see langword="ExternalException" /> class with a specified error message.</summary>
|
||||
/// <param name="message">The error message that specifies the reason for the exception.</param>
|
||||
// Token: 0x06002CC3 RID: 11459 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CC3")]
|
||||
[Address(RVA = "0x2CEE0A0", Offset = "0x2CED0A0", VA = "0x182CEE0A0")]
|
||||
public ExternalException(string message)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.ExternalException" /> class with a specified error message and a reference to the inner exception that is the cause of this exception.</summary>
|
||||
/// <param name="message">The error message that explains the reason for the exception.</param>
|
||||
/// <param name="inner">The exception that is the cause of the current exception. If the <paramref name="inner" /> parameter is not <see langword="null" />, the current exception is raised in a <see langword="catch" /> block that handles the inner exception.</param>
|
||||
// Token: 0x06002CC4 RID: 11460 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CC4")]
|
||||
[Address(RVA = "0x2CEE070", Offset = "0x2CED070", VA = "0x182CEE070")]
|
||||
public ExternalException(string message, Exception inner)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see langword="ExternalException" /> class with a specified error message and the HRESULT of the error.</summary>
|
||||
/// <param name="message">The error message that specifies the reason for the exception.</param>
|
||||
/// <param name="errorCode">The HRESULT of the error.</param>
|
||||
// Token: 0x06002CC5 RID: 11461 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CC5")]
|
||||
[Address(RVA = "0xCBE600", Offset = "0xCBD600", VA = "0x180CBE600")]
|
||||
public ExternalException(string message, int errorCode)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see langword="ExternalException" /> class from serialization data.</summary>
|
||||
/// <param name="info">The object that holds the serialized object data.</param>
|
||||
/// <param name="context">The contextual information about the source or destination.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="info" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x06002CC6 RID: 11462 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CC6")]
|
||||
[Address(RVA = "0x7241B0", Offset = "0x7231B0", VA = "0x1807241B0")]
|
||||
protected ExternalException(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets the <see langword="HRESULT" /> of the error.</summary>
|
||||
/// <returns>The <see langword="HRESULT" /> of the error.</returns>
|
||||
// Token: 0x170006C9 RID: 1737
|
||||
// (get) Token: 0x06002CC7 RID: 11463 RVA: 0x00018E10 File Offset: 0x00017010
|
||||
[Token(Token = "0x170006C9")]
|
||||
public virtual int ErrorCode
|
||||
{
|
||||
[Token(Token = "0x6002CC7")]
|
||||
[Address(RVA = "0x66A4F0", Offset = "0x6694F0", VA = "0x18066A4F0", Slot = "12")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Returns a string that contains the HRESULT of the error.</summary>
|
||||
/// <returns>A string that represents the HRESULT.</returns>
|
||||
// Token: 0x06002CC8 RID: 11464 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002CC8")]
|
||||
[Address(RVA = "0x2CEDE70", Offset = "0x2CECE70", VA = "0x182CEDE70", Slot = "3")]
|
||||
public override string ToString()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Indicates the physical position of fields within the unmanaged representation of a class or structure.</summary>
|
||||
// Token: 0x02000597 RID: 1431
|
||||
[Token(Token = "0x2000597")]
|
||||
[AttributeUsage(AttributeTargets.Field)]
|
||||
[ComVisible(true)]
|
||||
public sealed class FieldOffsetAttribute : Attribute
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.FieldOffsetAttribute" /> class with the offset in the structure to the beginning of the field.</summary>
|
||||
/// <param name="offset">The offset in bytes from the beginning of the structure to the beginning of the field.</param>
|
||||
// Token: 0x06002CBC RID: 11452 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CBC")]
|
||||
[Address(RVA = "0x41F8E0", Offset = "0x41E8E0", VA = "0x18041F8E0")]
|
||||
public FieldOffsetAttribute(int offset)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040019E5 RID: 6629
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40019E5")]
|
||||
internal int _val;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,242 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Provides a way to access a managed object from unmanaged memory.</summary>
|
||||
// Token: 0x020005A5 RID: 1445
|
||||
[Token(Token = "0x20005A5")]
|
||||
[MonoTODO]
|
||||
[ComVisible(true)]
|
||||
[MonoTODO("Struct should be [StructLayout(LayoutKind.Sequential)] but will need to be reordered for that.")]
|
||||
public struct GCHandle
|
||||
{
|
||||
// Token: 0x06002CE9 RID: 11497 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CE9")]
|
||||
[Address(RVA = "0x2CEE460", Offset = "0x2CED460", VA = "0x182CEE460")]
|
||||
private GCHandle(IntPtr h)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002CEA RID: 11498 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CEA")]
|
||||
[Address(RVA = "0x2CEE400", Offset = "0x2CED400", VA = "0x182CEE400")]
|
||||
private GCHandle(object obj)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002CEB RID: 11499 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CEB")]
|
||||
[Address(RVA = "0x2CEE430", Offset = "0x2CED430", VA = "0x182CEE430")]
|
||||
internal GCHandle(object value, GCHandleType type)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets a value indicating whether the handle is allocated.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the handle is allocated; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x170006CD RID: 1741
|
||||
// (get) Token: 0x06002CEC RID: 11500 RVA: 0x00018E70 File Offset: 0x00017070
|
||||
[Token(Token = "0x170006CD")]
|
||||
public bool IsAllocated
|
||||
{
|
||||
[Token(Token = "0x6002CEC")]
|
||||
[Address(RVA = "0x14E4320", Offset = "0x14E3320", VA = "0x1814E4320")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the object this handle represents.</summary>
|
||||
/// <returns>The object this handle represents.</returns>
|
||||
/// <exception cref="T:System.InvalidOperationException">The handle was freed, or never initialized.</exception>
|
||||
// Token: 0x170006CE RID: 1742
|
||||
// (get) Token: 0x06002CED RID: 11501 RVA: 0x00002082 File Offset: 0x00000282
|
||||
// (set) Token: 0x06002CEE RID: 11502 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x170006CE")]
|
||||
public object Target
|
||||
{
|
||||
[Token(Token = "0x6002CED")]
|
||||
[Address(RVA = "0x2CEE480", Offset = "0x2CED480", VA = "0x182CEE480")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x6002CEE")]
|
||||
[Address(RVA = "0x2CEE500", Offset = "0x2CED500", VA = "0x182CEE500")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Retrieves the address of an object in a <see cref="F:System.Runtime.InteropServices.GCHandleType.Pinned" /> handle.</summary>
|
||||
/// <returns>The address of the pinned object as an <see cref="T:System.IntPtr" />.</returns>
|
||||
/// <exception cref="T:System.InvalidOperationException">The handle is any type other than <see cref="F:System.Runtime.InteropServices.GCHandleType.Pinned" />.</exception>
|
||||
// Token: 0x06002CEF RID: 11503 RVA: 0x00018E88 File Offset: 0x00017088
|
||||
[Token(Token = "0x6002CEF")]
|
||||
[Address(RVA = "0x2CEE0D0", Offset = "0x2CED0D0", VA = "0x182CEE0D0")]
|
||||
public IntPtr AddrOfPinnedObject()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Allocates a <see cref="F:System.Runtime.InteropServices.GCHandleType.Normal" /> handle for the specified object.</summary>
|
||||
/// <param name="value">The object that uses the <see cref="T:System.Runtime.InteropServices.GCHandle" />.</param>
|
||||
/// <returns>A new <see cref="T:System.Runtime.InteropServices.GCHandle" /> that protects the object from garbage collection. This <see cref="T:System.Runtime.InteropServices.GCHandle" /> must be released with <see cref="M:System.Runtime.InteropServices.GCHandle.Free" /> when it is no longer needed.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">An instance with nonprimitive (non-blittable) members cannot be pinned.</exception>
|
||||
// Token: 0x06002CF0 RID: 11504 RVA: 0x00018EA0 File Offset: 0x000170A0
|
||||
[Token(Token = "0x6002CF0")]
|
||||
[Address(RVA = "0x2CEE1D0", Offset = "0x2CED1D0", VA = "0x182CEE1D0")]
|
||||
public static GCHandle Alloc(object value)
|
||||
{
|
||||
return default(GCHandle);
|
||||
}
|
||||
|
||||
/// <summary>Allocates a handle of the specified type for the specified object.</summary>
|
||||
/// <param name="value">The object that uses the <see cref="T:System.Runtime.InteropServices.GCHandle" />.</param>
|
||||
/// <param name="type">One of the <see cref="T:System.Runtime.InteropServices.GCHandleType" /> values, indicating the type of <see cref="T:System.Runtime.InteropServices.GCHandle" /> to create.</param>
|
||||
/// <returns>A new <see cref="T:System.Runtime.InteropServices.GCHandle" /> of the specified type. This <see cref="T:System.Runtime.InteropServices.GCHandle" /> must be released with <see cref="M:System.Runtime.InteropServices.GCHandle.Free" /> when it is no longer needed.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">An instance with nonprimitive (non-blittable) members cannot be pinned.</exception>
|
||||
// Token: 0x06002CF1 RID: 11505 RVA: 0x00018EB8 File Offset: 0x000170B8
|
||||
[Token(Token = "0x6002CF1")]
|
||||
[Address(RVA = "0x2CEE1B0", Offset = "0x2CED1B0", VA = "0x182CEE1B0")]
|
||||
public static GCHandle Alloc(object value, GCHandleType type)
|
||||
{
|
||||
return default(GCHandle);
|
||||
}
|
||||
|
||||
/// <summary>Releases a <see cref="T:System.Runtime.InteropServices.GCHandle" />.</summary>
|
||||
/// <exception cref="T:System.InvalidOperationException">The handle was freed or never initialized.</exception>
|
||||
// Token: 0x06002CF2 RID: 11506 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CF2")]
|
||||
[Address(RVA = "0x2CEE270", Offset = "0x2CED270", VA = "0x182CEE270")]
|
||||
public void Free()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>A <see cref="T:System.Runtime.InteropServices.GCHandle" /> is stored using an internal integer representation.</summary>
|
||||
/// <param name="value">The <see cref="T:System.Runtime.InteropServices.GCHandle" /> for which the integer is required.</param>
|
||||
/// <returns>The integer value.</returns>
|
||||
// Token: 0x06002CF3 RID: 11507 RVA: 0x00018ED0 File Offset: 0x000170D0
|
||||
[Token(Token = "0x6002CF3")]
|
||||
[Address(RVA = "0x2CEE3F0", Offset = "0x2CED3F0", VA = "0x182CEE3F0")]
|
||||
public static explicit operator IntPtr(GCHandle value)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>A <see cref="T:System.Runtime.InteropServices.GCHandle" /> is stored using an internal integer representation.</summary>
|
||||
/// <param name="value">An <see cref="T:System.IntPtr" /> that indicates the handle for which the conversion is required.</param>
|
||||
/// <returns>The stored <see cref="T:System.Runtime.InteropServices.GCHandle" /> object using an internal integer representation.</returns>
|
||||
// Token: 0x06002CF4 RID: 11508 RVA: 0x00018EE8 File Offset: 0x000170E8
|
||||
[Token(Token = "0x6002CF4")]
|
||||
[Address(RVA = "0x2CEE300", Offset = "0x2CED300", VA = "0x182CEE300")]
|
||||
public static explicit operator GCHandle(IntPtr value)
|
||||
{
|
||||
return default(GCHandle);
|
||||
}
|
||||
|
||||
// Token: 0x06002CF5 RID: 11509 RVA: 0x00018F00 File Offset: 0x00017100
|
||||
[Token(Token = "0x6002CF5")]
|
||||
[Address(RVA = "0xAE5C70", Offset = "0xAE4C70", VA = "0x180AE5C70")]
|
||||
private static bool CheckCurrentDomain(int handle)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06002CF6 RID: 11510 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002CF6")]
|
||||
[Address(RVA = "0x2CEE3E0", Offset = "0x2CED3E0", VA = "0x182CEE3E0")]
|
||||
private static object GetTarget(int handle)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002CF7 RID: 11511 RVA: 0x00018F18 File Offset: 0x00017118
|
||||
[Token(Token = "0x6002CF7")]
|
||||
[Address(RVA = "0x2CEE3D0", Offset = "0x2CED3D0", VA = "0x182CEE3D0")]
|
||||
private static int GetTargetHandle(object obj, int handle, GCHandleType type)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06002CF8 RID: 11512 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CF8")]
|
||||
[Address(RVA = "0x2CEE260", Offset = "0x2CED260", VA = "0x182CEE260")]
|
||||
private static void FreeHandle(int handle)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002CF9 RID: 11513 RVA: 0x00018F30 File Offset: 0x00017130
|
||||
[Token(Token = "0x6002CF9")]
|
||||
[Address(RVA = "0x2CEE3C0", Offset = "0x2CED3C0", VA = "0x182CEE3C0")]
|
||||
private static IntPtr GetAddrOfPinnedObject(int handle)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Returns a value indicating whether two <see cref="T:System.Runtime.InteropServices.GCHandle" /> objects are equal.</summary>
|
||||
/// <param name="a">A <see cref="T:System.Runtime.InteropServices.GCHandle" /> object to compare with the <paramref name="b" /> parameter.</param>
|
||||
/// <param name="b">A <see cref="T:System.Runtime.InteropServices.GCHandle" /> object to compare with the <paramref name="a" /> parameter.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the <paramref name="a" /> and <paramref name="b" /> parameters are equal; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x06002CFA RID: 11514 RVA: 0x00018F48 File Offset: 0x00017148
|
||||
[Token(Token = "0x6002CFA")]
|
||||
[Address(RVA = "0x593050", Offset = "0x592050", VA = "0x180593050")]
|
||||
public static bool operator ==(GCHandle a, GCHandle b)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Determines whether the specified <see cref="T:System.Runtime.InteropServices.GCHandle" /> object is equal to the current <see cref="T:System.Runtime.InteropServices.GCHandle" /> object.</summary>
|
||||
/// <param name="o">The <see cref="T:System.Runtime.InteropServices.GCHandle" /> object to compare with the current <see cref="T:System.Runtime.InteropServices.GCHandle" /> object.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the specified <see cref="T:System.Runtime.InteropServices.GCHandle" /> object is equal to the current <see cref="T:System.Runtime.InteropServices.GCHandle" /> object; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x06002CFB RID: 11515 RVA: 0x00018F60 File Offset: 0x00017160
|
||||
[Token(Token = "0x6002CFB")]
|
||||
[Address(RVA = "0x2CEE1E0", Offset = "0x2CED1E0", VA = "0x182CEE1E0", Slot = "0")]
|
||||
public override bool Equals(object o)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Returns an identifier for the current <see cref="T:System.Runtime.InteropServices.GCHandle" /> object.</summary>
|
||||
/// <returns>An identifier for the current <see cref="T:System.Runtime.InteropServices.GCHandle" /> object.</returns>
|
||||
// Token: 0x06002CFC RID: 11516 RVA: 0x00018F78 File Offset: 0x00017178
|
||||
[Token(Token = "0x6002CFC")]
|
||||
[Address(RVA = "0x592FE0", Offset = "0x591FE0", VA = "0x180592FE0", Slot = "2")]
|
||||
public override int GetHashCode()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Returns a new <see cref="T:System.Runtime.InteropServices.GCHandle" /> object created from a handle to a managed object.</summary>
|
||||
/// <param name="value">An <see cref="T:System.IntPtr" /> handle to a managed object to create a <see cref="T:System.Runtime.InteropServices.GCHandle" /> object from.</param>
|
||||
/// <returns>A new <see cref="T:System.Runtime.InteropServices.GCHandle" /> object that corresponds to the value parameter.</returns>
|
||||
/// <exception cref="T:System.InvalidOperationException">The value of the <paramref name="value" /> parameter is <see cref="F:System.IntPtr.Zero" />.</exception>
|
||||
// Token: 0x06002CFD RID: 11517 RVA: 0x00018F90 File Offset: 0x00017190
|
||||
[Token(Token = "0x6002CFD")]
|
||||
[Address(RVA = "0x2CEE300", Offset = "0x2CED300", VA = "0x182CEE300")]
|
||||
public static GCHandle FromIntPtr(IntPtr value)
|
||||
{
|
||||
return default(GCHandle);
|
||||
}
|
||||
|
||||
/// <summary>Returns the internal integer representation of a <see cref="T:System.Runtime.InteropServices.GCHandle" /> object.</summary>
|
||||
/// <param name="value">A <see cref="T:System.Runtime.InteropServices.GCHandle" /> object to retrieve an internal integer representation from.</param>
|
||||
/// <returns>An <see cref="T:System.IntPtr" /> object that represents a <see cref="T:System.Runtime.InteropServices.GCHandle" /> object.</returns>
|
||||
// Token: 0x06002CFE RID: 11518 RVA: 0x00018FA8 File Offset: 0x000171A8
|
||||
[Token(Token = "0x6002CFE")]
|
||||
[Address(RVA = "0x2CEE3F0", Offset = "0x2CED3F0", VA = "0x182CEE3F0")]
|
||||
public static IntPtr ToIntPtr(GCHandle value)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x040019FE RID: 6654
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x40019FE")]
|
||||
private int handle;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Represents the types of handles the <see cref="T:System.Runtime.InteropServices.GCHandle" /> class can allocate.</summary>
|
||||
// Token: 0x020005A6 RID: 1446
|
||||
[Token(Token = "0x20005A6")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public enum GCHandleType
|
||||
{
|
||||
/// <summary>This handle type is used to track an object, but allow it to be collected. When an object is collected, the contents of the <see cref="T:System.Runtime.InteropServices.GCHandle" /> are zeroed. <see langword="Weak" /> references are zeroed before the finalizer runs, so even if the finalizer resurrects the object, the <see langword="Weak" /> reference is still zeroed.</summary>
|
||||
// Token: 0x04001A00 RID: 6656
|
||||
[Token(Token = "0x4001A00")]
|
||||
Weak,
|
||||
/// <summary>This handle type is similar to <see cref="F:System.Runtime.InteropServices.GCHandleType.Weak" />, but the handle is not zeroed if the object is resurrected during finalization.</summary>
|
||||
// Token: 0x04001A01 RID: 6657
|
||||
[Token(Token = "0x4001A01")]
|
||||
WeakTrackResurrection,
|
||||
/// <summary>This handle type represents an opaque handle, meaning you cannot resolve the address of the pinned object through the handle. You can use this type to track an object and prevent its collection by the garbage collector. This enumeration member is useful when an unmanaged client holds the only reference, which is undetectable from the garbage collector, to a managed object.</summary>
|
||||
// Token: 0x04001A02 RID: 6658
|
||||
[Token(Token = "0x4001A02")]
|
||||
Normal,
|
||||
/// <summary>This handle type is similar to <see cref="F:System.Runtime.InteropServices.GCHandleType.Normal" />, but allows the address of the pinned object to be taken. This prevents the garbage collector from moving the object and hence undermines the efficiency of the garbage collector. Use the <see cref="M:System.Runtime.InteropServices.GCHandle.Free" /> method to free the allocated handle as soon as possible.</summary>
|
||||
// Token: 0x04001A03 RID: 6659
|
||||
[Token(Token = "0x4001A03")]
|
||||
Pinned
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Supplies an explicit <see cref="T:System.Guid" /> when an automatic GUID is undesirable.</summary>
|
||||
// Token: 0x0200058F RID: 1423
|
||||
[Token(Token = "0x200058F")]
|
||||
[ComVisible(true)]
|
||||
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Delegate)]
|
||||
public sealed class GuidAttribute : Attribute
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.GuidAttribute" /> class with the specified GUID.</summary>
|
||||
/// <param name="guid">The <see cref="T:System.Guid" /> to be assigned.</param>
|
||||
// Token: 0x06002CB0 RID: 11440 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CB0")]
|
||||
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
|
||||
public GuidAttribute(string guid)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets the <see cref="T:System.Guid" /> of the class.</summary>
|
||||
/// <returns>The <see cref="T:System.Guid" /> of the class.</returns>
|
||||
// Token: 0x170006C7 RID: 1735
|
||||
// (get) Token: 0x06002CB1 RID: 11441 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170006C7")]
|
||||
public string Value
|
||||
{
|
||||
[Token(Token = "0x6002CB1")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x040019D2 RID: 6610
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40019D2")]
|
||||
internal string _val;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Wraps a managed object holding a handle to a resource that is passed to unmanaged code using platform invoke.</summary>
|
||||
// Token: 0x0200059E RID: 1438
|
||||
[Token(Token = "0x200059E")]
|
||||
[ComVisible(true)]
|
||||
public struct HandleRef
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.HandleRef" /> class with the object to wrap and a handle to the resource used by unmanaged code.</summary>
|
||||
/// <param name="wrapper">A managed object that should not be finalized until the platform invoke call returns.</param>
|
||||
/// <param name="handle">An <see cref="T:System.IntPtr" /> that indicates a handle to a resource.</param>
|
||||
// Token: 0x06002CC9 RID: 11465 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CC9")]
|
||||
[Address(RVA = "0x4AF6A0", Offset = "0x4AE6A0", VA = "0x1804AF6A0")]
|
||||
public HandleRef(object wrapper, IntPtr handle)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets the handle to a resource.</summary>
|
||||
/// <returns>The handle to a resource.</returns>
|
||||
// Token: 0x170006CA RID: 1738
|
||||
// (get) Token: 0x06002CCA RID: 11466 RVA: 0x00018E28 File Offset: 0x00017028
|
||||
[Token(Token = "0x170006CA")]
|
||||
public IntPtr Handle
|
||||
{
|
||||
[Token(Token = "0x6002CCA")]
|
||||
[Address(RVA = "0x634760", Offset = "0x633760", VA = "0x180634760")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x040019F6 RID: 6646
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x40019F6")]
|
||||
internal object m_wrapper;
|
||||
|
||||
// Token: 0x040019F7 RID: 6647
|
||||
[FieldOffset(Offset = "0x8")]
|
||||
[Token(Token = "0x40019F7")]
|
||||
internal IntPtr m_handle;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Provides custom wrappers for handling method calls.</summary>
|
||||
// Token: 0x0200059F RID: 1439
|
||||
[Token(Token = "0x200059F")]
|
||||
[ComVisible(true)]
|
||||
public interface ICustomMarshaler
|
||||
{
|
||||
/// <summary>Converts the unmanaged data to managed data.</summary>
|
||||
/// <param name="pNativeData">A pointer to the unmanaged data to be wrapped.</param>
|
||||
/// <returns>An object that represents the managed view of the COM data.</returns>
|
||||
// Token: 0x06002CCB RID: 11467
|
||||
[Token(Token = "0x6002CCB")]
|
||||
[Address(Slot = "0")]
|
||||
object MarshalNativeToManaged(IntPtr pNativeData);
|
||||
|
||||
/// <summary>Converts the managed data to unmanaged data.</summary>
|
||||
/// <param name="ManagedObj">The managed object to be converted.</param>
|
||||
/// <returns>A pointer to the COM view of the managed object.</returns>
|
||||
// Token: 0x06002CCC RID: 11468
|
||||
[Token(Token = "0x6002CCC")]
|
||||
[Address(Slot = "1")]
|
||||
IntPtr MarshalManagedToNative(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: 0x06002CCD RID: 11469
|
||||
[Token(Token = "0x6002CCD")]
|
||||
[Address(Slot = "2")]
|
||||
void CleanUpNativeData(IntPtr pNativeData);
|
||||
|
||||
/// <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: 0x06002CCE RID: 11470
|
||||
[Token(Token = "0x6002CCE")]
|
||||
[Address(Slot = "3")]
|
||||
void CleanUpManagedData(object ManagedObj);
|
||||
|
||||
/// <summary>Returns the size of the native data to be marshaled.</summary>
|
||||
/// <returns>The size, in bytes, of the native data.</returns>
|
||||
// Token: 0x06002CCF RID: 11471
|
||||
[Token(Token = "0x6002CCF")]
|
||||
[Address(Slot = "4")]
|
||||
int GetNativeDataSize();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Indicates that data should be marshaled from the caller to the callee, but not back to the caller.</summary>
|
||||
// Token: 0x02000591 RID: 1425
|
||||
[Token(Token = "0x2000591")]
|
||||
[ComVisible(true)]
|
||||
[AttributeUsage(AttributeTargets.Parameter)]
|
||||
public sealed class InAttribute : Attribute
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.InAttribute" /> class.</summary>
|
||||
// Token: 0x06002CB3 RID: 11443 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CB3")]
|
||||
[Address(RVA = "0x42BA20", Offset = "0x42AA20", VA = "0x18042BA20")]
|
||||
public InAttribute()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Indicates whether a managed interface is dual, dispatch-only, or <see langword="IUnknown" /> -only when exposed to COM.</summary>
|
||||
// Token: 0x02000587 RID: 1415
|
||||
[Token(Token = "0x2000587")]
|
||||
[ComVisible(true)]
|
||||
[AttributeUsage(AttributeTargets.Interface)]
|
||||
public sealed class InterfaceTypeAttribute : Attribute
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.InterfaceTypeAttribute" /> class with the specified <see cref="T:System.Runtime.InteropServices.ComInterfaceType" /> enumeration member.</summary>
|
||||
/// <param name="interfaceType">One of the <see cref="T:System.Runtime.InteropServices.ComInterfaceType" /> values that describes how the interface should be exposed to COM clients.</param>
|
||||
// Token: 0x06002CAB RID: 11435 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CAB")]
|
||||
[Address(RVA = "0x41F8E0", Offset = "0x41E8E0", VA = "0x18041F8E0")]
|
||||
public InterfaceTypeAttribute(ComInterfaceType interfaceType)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001976 RID: 6518
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001976")]
|
||||
internal ComInterfaceType _val;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>The exception thrown when an invalid COM object is used.</summary>
|
||||
// Token: 0x020005A0 RID: 1440
|
||||
[Token(Token = "0x20005A0")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public class InvalidComObjectException : SystemException
|
||||
{
|
||||
/// <summary>Initializes an instance of the <see langword="InvalidComObjectException" /> with default properties.</summary>
|
||||
// Token: 0x06002CD0 RID: 11472 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CD0")]
|
||||
[Address(RVA = "0x2CEEAE0", Offset = "0x2CEDAE0", VA = "0x182CEEAE0")]
|
||||
public InvalidComObjectException()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see langword="COMException" /> class from serialization data.</summary>
|
||||
/// <param name="info">The object that holds the serialized object data.</param>
|
||||
/// <param name="context">The contextual information about the source or destination.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="info" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x06002CD1 RID: 11473 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CD1")]
|
||||
[Address(RVA = "0x7241B0", Offset = "0x7231B0", VA = "0x1807241B0")]
|
||||
protected InvalidComObjectException(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>The exception thrown by the marshaler when it encounters an argument of a variant type that can not be marshaled to managed code.</summary>
|
||||
// Token: 0x020005A1 RID: 1441
|
||||
[Token(Token = "0x20005A1")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public class InvalidOleVariantTypeException : SystemException
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see langword="InvalidOleVariantTypeException" /> class with default values.</summary>
|
||||
// Token: 0x06002CD2 RID: 11474 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CD2")]
|
||||
[Address(RVA = "0x2CEEB40", Offset = "0x2CEDB40", VA = "0x182CEEB40")]
|
||||
public InvalidOleVariantTypeException()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see langword="InvalidOleVariantTypeException" /> class from serialization data.</summary>
|
||||
/// <param name="info">The object that holds the serialized object data.</param>
|
||||
/// <param name="context">The contextual information about the source or destination.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="info" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x06002CD3 RID: 11475 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CD3")]
|
||||
[Address(RVA = "0x7241B0", Offset = "0x7231B0", VA = "0x1807241B0")]
|
||||
protected InvalidOleVariantTypeException(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,949 @@
|
||||
using System;
|
||||
using System.Runtime.ConstrainedExecution;
|
||||
using System.Security;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Provides a collection of methods for allocating unmanaged memory, copying unmanaged memory blocks, and converting managed to unmanaged types, as well as other miscellaneous methods used when interacting with unmanaged code.</summary>
|
||||
// Token: 0x020005A7 RID: 1447
|
||||
[Token(Token = "0x20005A7")]
|
||||
public static class Marshal
|
||||
{
|
||||
// Token: 0x06002CFF RID: 11519 RVA: 0x00018FC0 File Offset: 0x000171C0
|
||||
[Token(Token = "0x6002CFF")]
|
||||
[Address(RVA = "0x2CF0FD0", Offset = "0x2CEFFD0", VA = "0x182CF0FD0")]
|
||||
private static int AddRefInternal(IntPtr pUnk)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Increments the reference count on the specified interface.</summary>
|
||||
/// <param name="pUnk">The interface reference count to increment.</param>
|
||||
/// <returns>The new value of the reference count on the <paramref name="pUnk" /> parameter.</returns>
|
||||
// Token: 0x06002D00 RID: 11520 RVA: 0x00018FD8 File Offset: 0x000171D8
|
||||
[Token(Token = "0x6002D00")]
|
||||
[Address(RVA = "0x2CF0FE0", Offset = "0x2CEFFE0", VA = "0x182CF0FE0")]
|
||||
public static int AddRef(IntPtr pUnk)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Allocates a block of memory of specified size from the COM task memory allocator.</summary>
|
||||
/// <param name="cb">The size of the block of memory to be allocated.</param>
|
||||
/// <returns>An integer representing the address of the block of memory allocated. This memory must be released with <see cref="M:System.Runtime.InteropServices.Marshal.FreeCoTaskMem(System.IntPtr)" />.</returns>
|
||||
/// <exception cref="T:System.OutOfMemoryException">There is insufficient memory to satisfy the request.</exception>
|
||||
// Token: 0x06002D01 RID: 11521 RVA: 0x00018FF0 File Offset: 0x000171F0
|
||||
[Token(Token = "0x6002D01")]
|
||||
[Address(RVA = "0x2CF1080", Offset = "0x2CF0080", VA = "0x182CF1080")]
|
||||
public static IntPtr AllocCoTaskMem(int cb)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Allocates memory from the unmanaged memory of the process by using the pointer to the specified number of bytes.</summary>
|
||||
/// <param name="cb">The required number of bytes in memory.</param>
|
||||
/// <returns>A pointer to the newly allocated memory. This memory must be released using the <see cref="M:System.Runtime.InteropServices.Marshal.FreeHGlobal(System.IntPtr)" /> method.</returns>
|
||||
/// <exception cref="T:System.OutOfMemoryException">There is insufficient memory to satisfy the request.</exception>
|
||||
// Token: 0x06002D02 RID: 11522 RVA: 0x00019008 File Offset: 0x00017208
|
||||
[Token(Token = "0x6002D02")]
|
||||
[Address(RVA = "0x2CF1090", Offset = "0x2CF0090", VA = "0x182CF1090")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
|
||||
public static IntPtr AllocHGlobal(IntPtr cb)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Allocates memory from the unmanaged memory of the process by using the specified number of bytes.</summary>
|
||||
/// <param name="cb">The required number of bytes in memory.</param>
|
||||
/// <returns>A pointer to the newly allocated memory. This memory must be released using the <see cref="M:System.Runtime.InteropServices.Marshal.FreeHGlobal(System.IntPtr)" /> method.</returns>
|
||||
/// <exception cref="T:System.OutOfMemoryException">There is insufficient memory to satisfy the request.</exception>
|
||||
// Token: 0x06002D03 RID: 11523 RVA: 0x00019020 File Offset: 0x00017220
|
||||
[Token(Token = "0x6002D03")]
|
||||
[Address(RVA = "0x2CF10A0", Offset = "0x2CF00A0", VA = "0x182CF10A0")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
|
||||
public static IntPtr AllocHGlobal(int cb)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06002D04 RID: 11524 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002D04")]
|
||||
[Address(RVA = "0x2CF3880", Offset = "0x2CF2880", VA = "0x182CF3880")]
|
||||
internal static void copy_to_unmanaged(Array source, int startIndex, IntPtr destination, int length)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002D05 RID: 11525 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002D05")]
|
||||
[Address(RVA = "0x2CF3870", Offset = "0x2CF2870", VA = "0x182CF3870")]
|
||||
internal static void copy_from_unmanaged(IntPtr source, int startIndex, Array destination, int length)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Copies data from a one-dimensional, managed 8-bit unsigned integer array to an unmanaged memory pointer.</summary>
|
||||
/// <param name="source">The one-dimensional array to copy from.</param>
|
||||
/// <param name="startIndex">The zero-based index in the source array where copying should start.</param>
|
||||
/// <param name="destination">The memory pointer to copy to.</param>
|
||||
/// <param name="length">The number of array elements to copy.</param>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="startIndex" /> and <paramref name="length" /> are not valid.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="source" />, <paramref name="startIndex" />, <paramref name="destination" />, or <paramref name="length" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x06002D06 RID: 11526 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002D06")]
|
||||
[Address(RVA = "0x2CF1F90", Offset = "0x2CF0F90", VA = "0x182CF1F90")]
|
||||
public static void Copy(byte[] source, int startIndex, IntPtr destination, int length)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Copies data from a one-dimensional, managed <see cref="T:System.IntPtr" /> array to an unmanaged memory pointer.</summary>
|
||||
/// <param name="source">The one-dimensional array to copy from.</param>
|
||||
/// <param name="startIndex">The zero-based index in the source array where copying should start.</param>
|
||||
/// <param name="destination">The memory pointer to copy to.</param>
|
||||
/// <param name="length">The number of array elements to copy.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="source" />, <paramref name="destination" />, <paramref name="startIndex" />, or <paramref name="length" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x06002D07 RID: 11527 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002D07")]
|
||||
[Address(RVA = "0x2CF2190", Offset = "0x2CF1190", VA = "0x182CF2190")]
|
||||
public static void Copy(IntPtr[] source, int startIndex, IntPtr destination, int length)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Copies data from an unmanaged memory pointer to a managed 8-bit unsigned integer array.</summary>
|
||||
/// <param name="source">The memory pointer to copy from.</param>
|
||||
/// <param name="destination">The array to copy to.</param>
|
||||
/// <param name="startIndex">The zero-based index in the destination array where copying should start.</param>
|
||||
/// <param name="length">The number of array elements to copy.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="source" />, <paramref name="destination" />, <paramref name="startIndex" />, or <paramref name="length" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x06002D08 RID: 11528 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002D08")]
|
||||
[Address(RVA = "0x2CF2110", Offset = "0x2CF1110", VA = "0x182CF2110")]
|
||||
public static void Copy(IntPtr source, byte[] destination, int startIndex, int length)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Copies data from an unmanaged memory pointer to a managed character array.</summary>
|
||||
/// <param name="source">The memory pointer to copy from.</param>
|
||||
/// <param name="destination">The array to copy to.</param>
|
||||
/// <param name="startIndex">The zero-based index in the destination array where copying should start.</param>
|
||||
/// <param name="length">The number of array elements to copy.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="source" />, <paramref name="destination" />, <paramref name="startIndex" />, or <paramref name="length" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x06002D09 RID: 11529 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002D09")]
|
||||
[Address(RVA = "0x2CF2090", Offset = "0x2CF1090", VA = "0x182CF2090")]
|
||||
public static void Copy(IntPtr source, char[] destination, int startIndex, int length)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Copies data from an unmanaged memory pointer to a managed 16-bit signed integer array.</summary>
|
||||
/// <param name="source">The memory pointer to copy from.</param>
|
||||
/// <param name="destination">The array to copy to.</param>
|
||||
/// <param name="startIndex">The zero-based index in the destination array where copying should start.</param>
|
||||
/// <param name="length">The number of array elements to copy.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="source" />, <paramref name="destination" />, <paramref name="startIndex" />, or <paramref name="length" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x06002D0A RID: 11530 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002D0A")]
|
||||
[Address(RVA = "0x2CF2210", Offset = "0x2CF1210", VA = "0x182CF2210")]
|
||||
public static void Copy(IntPtr source, short[] destination, int startIndex, int length)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Copies data from an unmanaged memory pointer to a managed single-precision floating-point number array.</summary>
|
||||
/// <param name="source">The memory pointer to copy from.</param>
|
||||
/// <param name="destination">The array to copy to.</param>
|
||||
/// <param name="startIndex">The zero-based index in the destination array where copying should start.</param>
|
||||
/// <param name="length">The number of array elements to copy.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="source" />, <paramref name="destination" />, <paramref name="startIndex" />, or <paramref name="length" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x06002D0B RID: 11531 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002D0B")]
|
||||
[Address(RVA = "0x2CF2010", Offset = "0x2CF1010", VA = "0x182CF2010")]
|
||||
public static void Copy(IntPtr source, float[] destination, int startIndex, int length)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Frees all substructures that the specified unmanaged memory block points to.</summary>
|
||||
/// <param name="ptr">A pointer to an unmanaged block of memory.</param>
|
||||
/// <param name="structuretype">Type of a formatted class. This provides the layout information necessary to delete the buffer in the <paramref name="ptr" /> parameter.</param>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="structureType" /> has an automatic layout. Use sequential or explicit instead.</exception>
|
||||
// Token: 0x06002D0C RID: 11532 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002D0C")]
|
||||
[Address(RVA = "0x2CF2290", Offset = "0x2CF1290", VA = "0x182CF2290")]
|
||||
[ComVisible(true)]
|
||||
public static void DestroyStructure(IntPtr ptr, Type structuretype)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Frees a <see langword="BSTR" /> using the COM SysFreeString function.</summary>
|
||||
/// <param name="ptr">The address of the BSTR to be freed.</param>
|
||||
// Token: 0x06002D0D RID: 11533 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002D0D")]
|
||||
[Address(RVA = "0x2CF22A0", Offset = "0x2CF12A0", VA = "0x182CF22A0")]
|
||||
public static void FreeBSTR(IntPtr ptr)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Frees a block of memory allocated by the unmanaged COM task memory allocator.</summary>
|
||||
/// <param name="ptr">The address of the memory to be freed.</param>
|
||||
// Token: 0x06002D0E RID: 11534 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002D0E")]
|
||||
[Address(RVA = "0x2CF22B0", Offset = "0x2CF12B0", VA = "0x182CF22B0")]
|
||||
public static void FreeCoTaskMem(IntPtr ptr)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Frees memory previously allocated from the unmanaged memory of the process.</summary>
|
||||
/// <param name="hglobal">The handle returned by the original matching call to <see cref="M:System.Runtime.InteropServices.Marshal.AllocHGlobal(System.IntPtr)" />.</param>
|
||||
// Token: 0x06002D0F RID: 11535 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002D0F")]
|
||||
[Address(RVA = "0x2CF22C0", Offset = "0x2CF12C0", VA = "0x182CF22C0")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
public static void FreeHGlobal(IntPtr hglobal)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002D10 RID: 11536 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002D10")]
|
||||
[Address(RVA = "0x2CF1100", Offset = "0x2CF0100", VA = "0x182CF1100")]
|
||||
private static void ClearBSTR(IntPtr ptr)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Frees a BSTR pointer that was allocated using the <see cref="M:System.Runtime.InteropServices.Marshal.SecureStringToBSTR(System.Security.SecureString)" /> method.</summary>
|
||||
/// <param name="s">The address of the <see langword="BSTR" /> to free.</param>
|
||||
// Token: 0x06002D11 RID: 11537 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002D11")]
|
||||
[Address(RVA = "0x2CF3580", Offset = "0x2CF2580", VA = "0x182CF3580")]
|
||||
public static void ZeroFreeBSTR(IntPtr s)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002D12 RID: 11538 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002D12")]
|
||||
[Address(RVA = "0x2CF11E0", Offset = "0x2CF01E0", VA = "0x182CF11E0")]
|
||||
private static void ClearUnicode(IntPtr ptr)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Frees an unmanaged string pointer that was allocated using the <see cref="M:System.Runtime.InteropServices.Marshal.SecureStringToGlobalAllocUnicode(System.Security.SecureString)" /> method.</summary>
|
||||
/// <param name="s">The address of the unmanaged string to free.</param>
|
||||
// Token: 0x06002D13 RID: 11539 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002D13")]
|
||||
[Address(RVA = "0x2CF36B0", Offset = "0x2CF26B0", VA = "0x182CF36B0")]
|
||||
public static void ZeroFreeGlobalAllocUnicode(IntPtr s)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002D14 RID: 11540 RVA: 0x00019038 File Offset: 0x00017238
|
||||
[Token(Token = "0x6002D14")]
|
||||
[Address(RVA = "0x2CF22D0", Offset = "0x2CF12D0", VA = "0x182CF22D0")]
|
||||
private static IntPtr GetCCW(object o, Type T)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06002D15 RID: 11541 RVA: 0x00019050 File Offset: 0x00017250
|
||||
[Token(Token = "0x6002D15")]
|
||||
[Address(RVA = "0x2CF22E0", Offset = "0x2CF12E0", VA = "0x182CF22E0")]
|
||||
private static IntPtr GetComInterfaceForObjectInternal(object o, Type T)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Returns a pointer to an IUnknown interface that represents the specified interface on the specified object. Custom query interface access is enabled by default.</summary>
|
||||
/// <param name="o">The object that provides the interface.</param>
|
||||
/// <param name="T">The type of interface that is requested.</param>
|
||||
/// <returns>The interface pointer that represents the specified interface for the object.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">The <typeparamref name="T" /> parameter is not an interface.
|
||||
/// -or-
|
||||
/// The type is not visible to COM.
|
||||
/// -or-
|
||||
/// The <typeparamref name="T" /> parameter is a generic type definition.</exception>
|
||||
/// <exception cref="T:System.InvalidCastException">The <paramref name="o" /> parameter does not support the requested interface.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="o" /> parameter is <see langword="null" />.
|
||||
/// -or-
|
||||
/// The <typeparamref name="T" /> parameter is <see langword="null" />.</exception>
|
||||
// Token: 0x06002D16 RID: 11542 RVA: 0x00019068 File Offset: 0x00017268
|
||||
[Token(Token = "0x6002D16")]
|
||||
[Address(RVA = "0x2CF2340", Offset = "0x2CF1340", VA = "0x182CF2340")]
|
||||
public static IntPtr GetComInterfaceForObject(object o, Type T)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Converts the specified exception to an HRESULT.</summary>
|
||||
/// <param name="e">The exception to convert to an HRESULT.</param>
|
||||
/// <returns>The HRESULT mapped to the supplied exception.</returns>
|
||||
// Token: 0x06002D17 RID: 11543 RVA: 0x00019080 File Offset: 0x00017280
|
||||
[Token(Token = "0x6002D17")]
|
||||
[Address(RVA = "0x2CF27B0", Offset = "0x2CF17B0", VA = "0x182CF27B0")]
|
||||
public static int GetHRForException(Exception e)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Returns the error code returned by the last unmanaged function that was called using platform invoke that has the <see cref="F:System.Runtime.InteropServices.DllImportAttribute.SetLastError" /> flag set.</summary>
|
||||
/// <returns>The last error code set by a call to the Win32 SetLastError function.</returns>
|
||||
// Token: 0x06002D18 RID: 11544 RVA: 0x00019098 File Offset: 0x00017298
|
||||
[Token(Token = "0x6002D18")]
|
||||
[Address(RVA = "0x2CF27C0", Offset = "0x2CF17C0", VA = "0x182CF27C0")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
public static int GetLastWin32Error()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Performs a pre-link check for all methods on a class.</summary>
|
||||
/// <param name="c">The class whose methods are to be checked.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="c" /> parameter is <see langword="null" />.</exception>
|
||||
// Token: 0x06002D19 RID: 11545 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002D19")]
|
||||
[Address(RVA = "0x2CF27D0", Offset = "0x2CF17D0", VA = "0x182CF27D0")]
|
||||
public static void PrelinkAll(Type c)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Copies all characters up to the first null character from an unmanaged ANSI string to a managed <see cref="T:System.String" />, and widens each ANSI character to Unicode.</summary>
|
||||
/// <param name="ptr">The address of the first character of the unmanaged string.</param>
|
||||
/// <returns>A managed string that holds a copy of the unmanaged ANSI string. If <paramref name="ptr" /> is <see langword="null" />, the method returns a null string.</returns>
|
||||
// Token: 0x06002D1A RID: 11546 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002D1A")]
|
||||
[Address(RVA = "0x2CF27F0", Offset = "0x2CF17F0", VA = "0x182CF27F0")]
|
||||
public static string PtrToStringAnsi(IntPtr ptr)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Allocates a managed <see cref="T:System.String" />, copies a specified number of characters from an unmanaged ANSI string into it, and widens each ANSI character to Unicode.</summary>
|
||||
/// <param name="ptr">The address of the first character of the unmanaged string.</param>
|
||||
/// <param name="len">The byte count of the input string to copy.</param>
|
||||
/// <returns>A managed string that holds a copy of the native ANSI string if the value of the <paramref name="ptr" /> parameter is not <see langword="null" />; otherwise, this method returns <see langword="null" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="len" /> is less than zero.</exception>
|
||||
// Token: 0x06002D1B RID: 11547 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002D1B")]
|
||||
[Address(RVA = "0x2CF27E0", Offset = "0x2CF17E0", VA = "0x182CF27E0")]
|
||||
public static string PtrToStringAnsi(IntPtr ptr, int len)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Allocates a managed <see cref="T:System.String" /> and copies all characters up to the first null character from a string stored in unmanaged memory into it.</summary>
|
||||
/// <param name="ptr">For Unicode platforms, the address of the first Unicode character.
|
||||
/// -or-
|
||||
/// For ANSI plaforms, the address of the first ANSI character.</param>
|
||||
/// <returns>A managed string that holds a copy of the unmanaged string if the value of the <paramref name="ptr" /> parameter is not <see langword="null" />; otherwise, this method returns <see langword="null" />.</returns>
|
||||
// Token: 0x06002D1C RID: 11548 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002D1C")]
|
||||
[Address(RVA = "0x2CF2800", Offset = "0x2CF1800", VA = "0x182CF2800")]
|
||||
public static string PtrToStringAuto(IntPtr ptr)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Allocates a managed <see cref="T:System.String" /> and copies all characters up to the first null character from an unmanaged Unicode string into it.</summary>
|
||||
/// <param name="ptr">The address of the first character of the unmanaged string.</param>
|
||||
/// <returns>A managed string that holds a copy of the unmanaged string if the value of the <paramref name="ptr" /> parameter is not <see langword="null" />; otherwise, this method returns <see langword="null" />.</returns>
|
||||
// Token: 0x06002D1D RID: 11549 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002D1D")]
|
||||
[Address(RVA = "0x2CF28B0", Offset = "0x2CF18B0", VA = "0x182CF28B0")]
|
||||
public static string PtrToStringUni(IntPtr ptr)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Allocates a managed <see cref="T:System.String" /> and copies a binary string (BSTR) stored in unmanaged memory into it.</summary>
|
||||
/// <param name="ptr">The address of the first character of the unmanaged string.</param>
|
||||
/// <returns>A managed string that holds a copy of the unmanaged string.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="ptr" /> equals <see cref="F:System.IntPtr.Zero" />.</exception>
|
||||
// Token: 0x06002D1E RID: 11550 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002D1E")]
|
||||
[Address(RVA = "0x2CF28A0", Offset = "0x2CF18A0", VA = "0x182CF28A0")]
|
||||
public static string PtrToStringBSTR(IntPtr ptr)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Marshals data from an unmanaged block of memory to a managed object.</summary>
|
||||
/// <param name="ptr">A pointer to an unmanaged block of memory.</param>
|
||||
/// <param name="structure">The object to which the data is to be copied. This must be an instance of a formatted class.</param>
|
||||
/// <exception cref="T:System.ArgumentException">Structure layout is not sequential or explicit.
|
||||
/// -or-
|
||||
/// Structure is a boxed value type.</exception>
|
||||
// Token: 0x06002D1F RID: 11551 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002D1F")]
|
||||
[Address(RVA = "0x2CF28C0", Offset = "0x2CF18C0", VA = "0x182CF28C0")]
|
||||
[ComVisible(true)]
|
||||
public static void PtrToStructure(IntPtr ptr, object structure)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Marshals data from an unmanaged block of memory to a newly allocated managed object of the specified type.</summary>
|
||||
/// <param name="ptr">A pointer to an unmanaged block of memory.</param>
|
||||
/// <param name="structureType">The type of object to be created. This object must represent a formatted class or a structure.</param>
|
||||
/// <returns>A managed object containing the data pointed to by the <paramref name="ptr" /> parameter.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">The <paramref name="structureType" /> parameter layout is not sequential or explicit.
|
||||
/// -or-
|
||||
/// The <paramref name="structureType" /> parameter is a generic type definition.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="structureType" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.MissingMethodException">The class specified by <paramref name="structureType" /> does not have an accessible default constructor.</exception>
|
||||
// Token: 0x06002D20 RID: 11552 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002D20")]
|
||||
[Address(RVA = "0x2CF28D0", Offset = "0x2CF18D0", VA = "0x182CF28D0")]
|
||||
[ComVisible(true)]
|
||||
public static object PtrToStructure(IntPtr ptr, Type structureType)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>[Supported in the .NET Framework 4.5.1 and later versions]
|
||||
/// Marshals data from an unmanaged block of memory to a managed object of the specified type.</summary>
|
||||
/// <param name="ptr">A pointer to an unmanaged block of memory.</param>
|
||||
/// <param name="structure">The object to which the data is to be copied.</param>
|
||||
/// <typeparam name="T">The type of <paramref name="structure" />. This must be a formatted class.</typeparam>
|
||||
/// <exception cref="T:System.ArgumentException">Structure layout is not sequential or explicit.</exception>
|
||||
// Token: 0x06002D21 RID: 11553 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002D21")]
|
||||
[Address(RVA = "0x1FD72A0", Offset = "0x1FD62A0", VA = "0x181FD72A0")]
|
||||
public static void PtrToStructure<T>(IntPtr ptr, T structure)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>[Supported in the .NET Framework 4.5.1 and later versions]
|
||||
/// Marshals data from an unmanaged block of memory to a newly allocated managed object of the type specified by a generic type parameter.</summary>
|
||||
/// <param name="ptr">A pointer to an unmanaged block of memory.</param>
|
||||
/// <typeparam name="T">The type of the object to which the data is to be copied. This must be a formatted class or a structure.</typeparam>
|
||||
/// <returns>A managed object that contains the data that the <paramref name="ptr" /> parameter points to.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">The layout of <typeparamref name="T" /> is not sequential or explicit.</exception>
|
||||
/// <exception cref="T:System.MissingMethodException">The class specified by <typeparamref name="T" /> does not have an accessible default constructor.</exception>
|
||||
// Token: 0x06002D22 RID: 11554 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002D22")]
|
||||
[Address(RVA = "0x1E5F400", Offset = "0x1E5E400", VA = "0x181E5F400")]
|
||||
public static T PtrToStructure<T>(IntPtr ptr)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Reads a single byte at a given offset (or index) from unmanaged memory.</summary>
|
||||
/// <param name="ptr">The base address in unmanaged memory from which to read.</param>
|
||||
/// <param name="ofs">An additional byte offset, which is added to the <paramref name="ptr" /> parameter before reading.</param>
|
||||
/// <returns>The byte read from unmanaged memory at the given offset.</returns>
|
||||
/// <exception cref="T:System.AccessViolationException">Base address (<paramref name="ptr" />) plus offset byte (<paramref name="ofs" />) produces a null or invalid address.</exception>
|
||||
// Token: 0x06002D23 RID: 11555 RVA: 0x000190B0 File Offset: 0x000172B0
|
||||
[Token(Token = "0x6002D23")]
|
||||
[Address(RVA = "0x2CF28E0", Offset = "0x2CF18E0", VA = "0x182CF28E0")]
|
||||
public static byte ReadByte(IntPtr ptr, int ofs)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Reads a 16-bit signed integer at a given offset from unmanaged memory.</summary>
|
||||
/// <param name="ptr">The base address in unmanaged memory from which to read.</param>
|
||||
/// <param name="ofs">An additional byte offset, which is added to the <paramref name="ptr" /> parameter before reading.</param>
|
||||
/// <returns>The 16-bit signed integer read from unmanaged memory at the given offset.</returns>
|
||||
/// <exception cref="T:System.AccessViolationException">Base address (<paramref name="ptr" />) plus offset byte (<paramref name="ofs" />) produces a null or invalid address.</exception>
|
||||
// Token: 0x06002D24 RID: 11556 RVA: 0x000190C8 File Offset: 0x000172C8
|
||||
[Token(Token = "0x6002D24")]
|
||||
[Address(RVA = "0x2CF2900", Offset = "0x2CF1900", VA = "0x182CF2900")]
|
||||
public static short ReadInt16(IntPtr ptr, int ofs)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Reads a 32-bit signed integer from unmanaged memory.</summary>
|
||||
/// <param name="ptr">The address in unmanaged memory from which to read.</param>
|
||||
/// <returns>The 32-bit signed integer read from unmanaged memory.</returns>
|
||||
/// <exception cref="T:System.AccessViolationException">
|
||||
/// <paramref name="ptr" /> is not a recognized format.
|
||||
/// -or-
|
||||
/// <paramref name="ptr" /> is <see langword="null" />.
|
||||
/// -or-
|
||||
/// <paramref name="ptr" /> is invalid.</exception>
|
||||
// Token: 0x06002D25 RID: 11557 RVA: 0x000190E0 File Offset: 0x000172E0
|
||||
[Token(Token = "0x6002D25")]
|
||||
[Address(RVA = "0x2CF2950", Offset = "0x2CF1950", VA = "0x182CF2950")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
public static int ReadInt32(IntPtr ptr)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Reads a 32-bit signed integer at a given offset from unmanaged memory.</summary>
|
||||
/// <param name="ptr">The base address in unmanaged memory from which to read.</param>
|
||||
/// <param name="ofs">An additional byte offset, which is added to the <paramref name="ptr" /> parameter before reading.</param>
|
||||
/// <returns>The 32-bit signed integer read from unmanaged memory.</returns>
|
||||
/// <exception cref="T:System.AccessViolationException">Base address (<paramref name="ptr" />) plus offset byte (<paramref name="ofs" />) produces a null or invalid address.</exception>
|
||||
// Token: 0x06002D26 RID: 11558 RVA: 0x000190F8 File Offset: 0x000172F8
|
||||
[Token(Token = "0x6002D26")]
|
||||
[Address(RVA = "0x2CF2990", Offset = "0x2CF1990", VA = "0x182CF2990")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
public static int ReadInt32(IntPtr ptr, int ofs)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Reads a 64-bit signed integer from unmanaged memory.</summary>
|
||||
/// <param name="ptr">The address in unmanaged memory from which to read.</param>
|
||||
/// <returns>The 64-bit signed integer read from unmanaged memory.</returns>
|
||||
/// <exception cref="T:System.AccessViolationException">
|
||||
/// <paramref name="ptr" /> is not a recognized format.
|
||||
/// -or-
|
||||
/// <paramref name="ptr" /> is <see langword="null" />.
|
||||
/// -or-
|
||||
/// <paramref name="ptr" /> is invalid.</exception>
|
||||
// Token: 0x06002D27 RID: 11559 RVA: 0x00019110 File Offset: 0x00017310
|
||||
[Token(Token = "0x6002D27")]
|
||||
[Address(RVA = "0x2CF2A30", Offset = "0x2CF1A30", VA = "0x182CF2A30")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
public static long ReadInt64(IntPtr ptr)
|
||||
{
|
||||
return 0L;
|
||||
}
|
||||
|
||||
/// <summary>Reads a 64-bit signed integer at a given offset from unmanaged memory.</summary>
|
||||
/// <param name="ptr">The base address in unmanaged memory from which to read.</param>
|
||||
/// <param name="ofs">An additional byte offset, which is added to the <paramref name="ptr" /> parameter before reading.</param>
|
||||
/// <returns>The 64-bit signed integer read from unmanaged memory at the given offset.</returns>
|
||||
/// <exception cref="T:System.AccessViolationException">Base address (<paramref name="ptr" />) plus offset byte (<paramref name="ofs" />) produces a null or invalid address.</exception>
|
||||
// Token: 0x06002D28 RID: 11560 RVA: 0x00019128 File Offset: 0x00017328
|
||||
[Token(Token = "0x6002D28")]
|
||||
[Address(RVA = "0x2CF29E0", Offset = "0x2CF19E0", VA = "0x182CF29E0")]
|
||||
public static long ReadInt64(IntPtr ptr, int ofs)
|
||||
{
|
||||
return 0L;
|
||||
}
|
||||
|
||||
/// <summary>Reads a processor native-sized integer from unmanaged memory.</summary>
|
||||
/// <param name="ptr">The address in unmanaged memory from which to read.</param>
|
||||
/// <returns>The integer read from unmanaged memory. A 32 bit integer is returned on 32 bit machines and a 64 bit integer is returned on 64 bit machines.</returns>
|
||||
/// <exception cref="T:System.AccessViolationException">
|
||||
/// <paramref name="ptr" /> is not a recognized format.
|
||||
/// -or-
|
||||
/// <paramref name="ptr" /> is <see langword="null" />.
|
||||
/// -or-
|
||||
/// <paramref name="ptr" /> is invalid.</exception>
|
||||
// Token: 0x06002D29 RID: 11561 RVA: 0x00019140 File Offset: 0x00017340
|
||||
[Token(Token = "0x6002D29")]
|
||||
[Address(RVA = "0x2CF2BA0", Offset = "0x2CF1BA0", VA = "0x182CF2BA0")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
public static IntPtr ReadIntPtr(IntPtr ptr)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Reads a processor native sized integer at a given offset from unmanaged memory.</summary>
|
||||
/// <param name="ptr">The base address in unmanaged memory from which to read.</param>
|
||||
/// <param name="ofs">An additional byte offset, which is added to the <paramref name="ptr" /> parameter before reading.</param>
|
||||
/// <returns>The integer read from unmanaged memory at the given offset.</returns>
|
||||
/// <exception cref="T:System.AccessViolationException">Base address (<paramref name="ptr" />) plus offset byte (<paramref name="ofs" />) produces a null or invalid address.</exception>
|
||||
// Token: 0x06002D2A RID: 11562 RVA: 0x00019158 File Offset: 0x00017358
|
||||
[Token(Token = "0x6002D2A")]
|
||||
[Address(RVA = "0x2CF2A80", Offset = "0x2CF1A80", VA = "0x182CF2A80")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
public static IntPtr ReadIntPtr(IntPtr ptr, int ofs)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06002D2B RID: 11563 RVA: 0x00019170 File Offset: 0x00017370
|
||||
[Token(Token = "0x6002D2B")]
|
||||
[Address(RVA = "0x2CF2CB0", Offset = "0x2CF1CB0", VA = "0x182CF2CB0")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
private static int ReleaseInternal(IntPtr pUnk)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Decrements the reference count on the specified interface.</summary>
|
||||
/// <param name="pUnk">The interface to release.</param>
|
||||
/// <returns>The new value of the reference count on the interface specified by the <paramref name="pUnk" /> parameter.</returns>
|
||||
// Token: 0x06002D2C RID: 11564 RVA: 0x00019188 File Offset: 0x00017388
|
||||
[Token(Token = "0x6002D2C")]
|
||||
[Address(RVA = "0x2CF2CC0", Offset = "0x2CF1CC0", VA = "0x182CF2CC0")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
public static int Release(IntPtr pUnk)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Returns the unmanaged size of an object in bytes.</summary>
|
||||
/// <param name="structure">The object whose size is to be returned.</param>
|
||||
/// <returns>The size of the specified object in unmanaged code.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="structure" /> parameter is <see langword="null" />.</exception>
|
||||
// Token: 0x06002D2D RID: 11565 RVA: 0x000191A0 File Offset: 0x000173A0
|
||||
[Token(Token = "0x6002D2D")]
|
||||
[Address(RVA = "0x2CF31D0", Offset = "0x2CF21D0", VA = "0x182CF31D0")]
|
||||
[ComVisible(true)]
|
||||
public static int SizeOf(object structure)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Returns the size of an unmanaged type in bytes.</summary>
|
||||
/// <param name="t">The type whose size is to be returned.</param>
|
||||
/// <returns>The size of the specified type in unmanaged code.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">The <paramref name="t" /> parameter is a generic type definition.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="t" /> parameter is <see langword="null" />.</exception>
|
||||
// Token: 0x06002D2E RID: 11566 RVA: 0x000191B8 File Offset: 0x000173B8
|
||||
[Token(Token = "0x6002D2E")]
|
||||
[Address(RVA = "0x2CF31C0", Offset = "0x2CF21C0", VA = "0x182CF31C0")]
|
||||
public static int SizeOf(Type t)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>[Supported in the .NET Framework 4.5.1 and later versions]
|
||||
/// Returns the size of an unmanaged type in bytes.</summary>
|
||||
/// <typeparam name="T">The type whose size is to be returned.</typeparam>
|
||||
/// <returns>The size, in bytes, of the type that is specified by the <typeparamref name="T" /> generic type parameter.</returns>
|
||||
// Token: 0x06002D2F RID: 11567 RVA: 0x000191D0 File Offset: 0x000173D0
|
||||
[Token(Token = "0x6002D2F")]
|
||||
[Address(RVA = "0x27D7D40", Offset = "0x27D6D40", VA = "0x1827D7D40")]
|
||||
public static int SizeOf<T>()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>[Supported in the .NET Framework 4.5.1 and later versions]
|
||||
/// Returns the unmanaged size of an object of a specified type in bytes.</summary>
|
||||
/// <param name="structure">The object whose size is to be returned.</param>
|
||||
/// <typeparam name="T">The type of the <paramref name="structure" /> parameter.</typeparam>
|
||||
/// <returns>The size, in bytes, of the specified object in unmanaged code.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="structure" /> parameter is <see langword="null" />.</exception>
|
||||
// Token: 0x06002D30 RID: 11568 RVA: 0x000191E8 File Offset: 0x000173E8
|
||||
[Token(Token = "0x6002D30")]
|
||||
[Address(RVA = "0x27D7DD0", Offset = "0x27D6DD0", VA = "0x1827D7DD0")]
|
||||
public static int SizeOf<T>(T structure)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Allocates a BSTR and copies the contents of a managed <see cref="T:System.String" /> into it.</summary>
|
||||
/// <param name="s">The managed string to be copied.</param>
|
||||
/// <returns>An unmanaged pointer to the <see langword="BSTR" />, or 0 if <paramref name="s" /> is null.</returns>
|
||||
/// <exception cref="T:System.OutOfMemoryException">There is insufficient memory available.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">The length for <paramref name="s" /> is out of range.</exception>
|
||||
// Token: 0x06002D31 RID: 11569 RVA: 0x00019200 File Offset: 0x00017400
|
||||
[Token(Token = "0x6002D31")]
|
||||
[Address(RVA = "0x2CF3240", Offset = "0x2CF2240", VA = "0x182CF3240")]
|
||||
public static IntPtr StringToBSTR(string s)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Copies the contents of a managed <see cref="T:System.String" /> into unmanaged memory.</summary>
|
||||
/// <param name="s">A managed string to be copied.</param>
|
||||
/// <returns>The address, in unmanaged memory, to where the <paramref name="s" /> was copied, or 0 if <paramref name="s" /> is <see langword="null" />.</returns>
|
||||
/// <exception cref="T:System.OutOfMemoryException">The method could not allocate enough native heap memory.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="s" /> parameter exceeds the maximum length allowed by the operating system.</exception>
|
||||
// Token: 0x06002D32 RID: 11570 RVA: 0x00019218 File Offset: 0x00017418
|
||||
[Token(Token = "0x6002D32")]
|
||||
[Address(RVA = "0x2CF3250", Offset = "0x2CF2250", VA = "0x182CF3250")]
|
||||
public static IntPtr StringToHGlobalUni(string s)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Allocates an unmanaged binary string (BSTR) and copies the contents of a managed <see cref="T:System.Security.SecureString" /> object into it.</summary>
|
||||
/// <param name="s">The managed object to copy.</param>
|
||||
/// <returns>The address, in unmanaged memory, where the <paramref name="s" /> parameter was copied to, or 0 if a null object was supplied.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="s" /> parameter is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The current computer is not running Windows 2000 Service Pack 3 or later.</exception>
|
||||
/// <exception cref="T:System.OutOfMemoryException">There is insufficient memory available.</exception>
|
||||
// Token: 0x06002D33 RID: 11571 RVA: 0x00019230 File Offset: 0x00017430
|
||||
[Token(Token = "0x6002D33")]
|
||||
[Address(RVA = "0x2CF2D60", Offset = "0x2CF1D60", VA = "0x182CF2D60")]
|
||||
public static IntPtr SecureStringToBSTR(SecureString s)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Copies the contents of a managed <see cref="T:System.Security.SecureString" /> object to a block of memory allocated from the unmanaged COM task allocator.</summary>
|
||||
/// <param name="s">The managed object to copy.</param>
|
||||
/// <returns>The address, in unmanaged memory, where the <paramref name="s" /> parameter was copied to, or 0 if a null object was supplied.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="s" /> parameter is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The current computer is not running Windows 2000 Service Pack 3 or later.</exception>
|
||||
/// <exception cref="T:System.OutOfMemoryException">There is insufficient memory available.</exception>
|
||||
// Token: 0x06002D34 RID: 11572 RVA: 0x00019248 File Offset: 0x00017448
|
||||
[Token(Token = "0x6002D34")]
|
||||
[Address(RVA = "0x2CF2ED0", Offset = "0x2CF1ED0", VA = "0x182CF2ED0")]
|
||||
public static IntPtr SecureStringToCoTaskMemUnicode(SecureString s)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Copies the contents of a managed <see cref="T:System.Security.SecureString" /> object into unmanaged memory.</summary>
|
||||
/// <param name="s">The managed object to copy.</param>
|
||||
/// <returns>The address, in unmanaged memory, where <paramref name="s" /> was copied, or 0 if <paramref name="s" /> is a <see cref="T:System.Security.SecureString" /> object whose length is 0.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="s" /> parameter is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The current computer is not running Windows 2000 Service Pack 3 or later.</exception>
|
||||
/// <exception cref="T:System.OutOfMemoryException">There is insufficient memory available.</exception>
|
||||
// Token: 0x06002D35 RID: 11573 RVA: 0x00019260 File Offset: 0x00017460
|
||||
[Token(Token = "0x6002D35")]
|
||||
[Address(RVA = "0x2CF3130", Offset = "0x2CF2130", VA = "0x182CF3130")]
|
||||
public static IntPtr SecureStringToGlobalAllocUnicode(SecureString s)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Marshals data from a managed object to an unmanaged block of memory.</summary>
|
||||
/// <param name="structure">A managed object that holds the data to be marshaled. This object must be a structure or an instance of a formatted class.</param>
|
||||
/// <param name="ptr">A pointer to an unmanaged block of memory, which must be allocated before this method is called.</param>
|
||||
/// <param name="fDeleteOld">
|
||||
/// <see langword="true" /> to call the <see cref="M:System.Runtime.InteropServices.Marshal.DestroyStructure(System.IntPtr,System.Type)" /> method on the <paramref name="ptr" /> parameter before this method copies the data. The block must contain valid data. Note that passing <see langword="false" /> when the memory block already contains data can lead to a memory leak.</param>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="structure" /> is a reference type that is not a formatted class.
|
||||
/// -or-
|
||||
/// <paramref name="structure" /> is an instance of a generic type (in the .NET Framework 4.5 and earlier versions only).</exception>
|
||||
// Token: 0x06002D36 RID: 11574 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002D36")]
|
||||
[Address(RVA = "0x2CF3260", Offset = "0x2CF2260", VA = "0x182CF3260")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
|
||||
[ComVisible(true)]
|
||||
public static void StructureToPtr(object structure, IntPtr ptr, bool fDeleteOld)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>[Supported in the .NET Framework 4.5.1 and later versions]
|
||||
/// Marshals data from a managed object of a specified type to an unmanaged block of memory.</summary>
|
||||
/// <param name="structure">A managed object that holds the data to be marshaled. The object must be a structure or an instance of a formatted class.</param>
|
||||
/// <param name="ptr">A pointer to an unmanaged block of memory, which must be allocated before this method is called.</param>
|
||||
/// <param name="fDeleteOld">
|
||||
/// <see langword="true" /> to call the <see cref="M:System.Runtime.InteropServices.Marshal.DestroyStructure``1(System.IntPtr)" /> method on the <paramref name="ptr" /> parameter before this method copies the data. The block must contain valid data. Note that passing <see langword="false" /> when the memory block already contains data can lead to a memory leak.</param>
|
||||
/// <typeparam name="T">The type of the managed object.</typeparam>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="structure" /> is a reference type that is not a formatted class.</exception>
|
||||
// Token: 0x06002D37 RID: 11575 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002D37")]
|
||||
[Address(RVA = "0x1FD7310", Offset = "0x1FD6310", VA = "0x181FD7310")]
|
||||
public static void StructureToPtr<T>(T structure, IntPtr ptr, bool fDeleteOld)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Throws an exception with a specific failure HRESULT value.</summary>
|
||||
/// <param name="errorCode">The HRESULT corresponding to the desired exception.</param>
|
||||
// Token: 0x06002D38 RID: 11576 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002D38")]
|
||||
[Address(RVA = "0x2CF3270", Offset = "0x2CF2270", VA = "0x182CF3270")]
|
||||
public static void ThrowExceptionForHR(int errorCode)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002D39 RID: 11577 RVA: 0x00019278 File Offset: 0x00017478
|
||||
[Token(Token = "0x6002D39")]
|
||||
[Address(RVA = "0x92BEF0", Offset = "0x92AEF0", VA = "0x18092BEF0")]
|
||||
private static IntPtr BufferToBSTR(Array ptr, int slen)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Gets the address of the element at the specified index inside the specified array.</summary>
|
||||
/// <param name="arr">The array that contains the desired element.</param>
|
||||
/// <param name="index">The index in the <paramref name="arr" /> parameter of the desired element.</param>
|
||||
/// <returns>The address of <paramref name="index" /> inside <paramref name="arr" />.</returns>
|
||||
// Token: 0x06002D3A RID: 11578 RVA: 0x00019290 File Offset: 0x00017490
|
||||
[Token(Token = "0x6002D3A")]
|
||||
[Address(RVA = "0x2CF3360", Offset = "0x2CF2360", VA = "0x182CF3360")]
|
||||
public static IntPtr UnsafeAddrOfPinnedArrayElement(Array arr, int index)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>[Supported in the .NET Framework 4.5.1 and later versions]
|
||||
/// Gets the address of the element at the specified index in an array of a specified type.</summary>
|
||||
/// <param name="arr">The array that contains the desired element.</param>
|
||||
/// <param name="index">The index of the desired element in the <paramref name="arr" /> array.</param>
|
||||
/// <typeparam name="T">The type of the array.</typeparam>
|
||||
/// <returns>The address of <paramref name="index" /> in <paramref name="arr" />.</returns>
|
||||
// Token: 0x06002D3B RID: 11579 RVA: 0x000192A8 File Offset: 0x000174A8
|
||||
[Token(Token = "0x6002D3B")]
|
||||
[Address(RVA = "0x27D8490", Offset = "0x27D7490", VA = "0x1827D8490")]
|
||||
public static IntPtr UnsafeAddrOfPinnedArrayElement<T>(T[] arr, int index)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Writes a single byte value to unmanaged memory at a specified offset.</summary>
|
||||
/// <param name="ptr">The base address in unmanaged memory to write to.</param>
|
||||
/// <param name="ofs">An additional byte offset, which is added to the <paramref name="ptr" /> parameter before writing.</param>
|
||||
/// <param name="val">The value to write.</param>
|
||||
/// <exception cref="T:System.AccessViolationException">Base address (<paramref name="ptr" />) plus offset byte (<paramref name="ofs" />) produces a null or invalid address.</exception>
|
||||
// Token: 0x06002D3C RID: 11580 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002D3C")]
|
||||
[Address(RVA = "0x2CF3370", Offset = "0x2CF2370", VA = "0x182CF3370")]
|
||||
public static void WriteByte(IntPtr ptr, int ofs, byte val)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes a 16-bit signed integer value into unmanaged memory at a specified offset.</summary>
|
||||
/// <param name="ptr">The base address in unmanaged memory to write to.</param>
|
||||
/// <param name="ofs">An additional byte offset, which is added to the <paramref name="ptr" /> parameter before writing.</param>
|
||||
/// <param name="val">The value to write.</param>
|
||||
/// <exception cref="T:System.AccessViolationException">Base address (<paramref name="ptr" />) plus offset byte (<paramref name="ofs" />) produces a null or invalid address.</exception>
|
||||
// Token: 0x06002D3D RID: 11581 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002D3D")]
|
||||
[Address(RVA = "0x2CF33A0", Offset = "0x2CF23A0", VA = "0x182CF33A0")]
|
||||
public static void WriteInt16(IntPtr ptr, int ofs, short val)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes a 32-bit signed integer value to unmanaged memory.</summary>
|
||||
/// <param name="ptr">The address in unmanaged memory to write to.</param>
|
||||
/// <param name="val">The value to write.</param>
|
||||
/// <exception cref="T:System.AccessViolationException">
|
||||
/// <paramref name="ptr" /> is not a recognized format.
|
||||
/// -or-
|
||||
/// <paramref name="ptr" /> is <see langword="null" />.
|
||||
/// -or-
|
||||
/// <paramref name="ptr" /> is invalid.</exception>
|
||||
// Token: 0x06002D3E RID: 11582 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002D3E")]
|
||||
[Address(RVA = "0x2CF33F0", Offset = "0x2CF23F0", VA = "0x182CF33F0")]
|
||||
public static void WriteInt32(IntPtr ptr, int val)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes a 64-bit signed integer value to unmanaged memory.</summary>
|
||||
/// <param name="ptr">The address in unmanaged memory to write to.</param>
|
||||
/// <param name="val">The value to write.</param>
|
||||
/// <exception cref="T:System.AccessViolationException">
|
||||
/// <paramref name="ptr" /> is not a recognized format.
|
||||
/// -or-
|
||||
/// <paramref name="ptr" /> is <see langword="null" />.
|
||||
/// -or-
|
||||
/// <paramref name="ptr" /> is invalid.</exception>
|
||||
// Token: 0x06002D3F RID: 11583 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002D3F")]
|
||||
[Address(RVA = "0x2CF3430", Offset = "0x2CF2430", VA = "0x182CF3430")]
|
||||
public static void WriteInt64(IntPtr ptr, long val)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes a processor native sized integer value into unmanaged memory.</summary>
|
||||
/// <param name="ptr">The address in unmanaged memory to write to.</param>
|
||||
/// <param name="val">The value to write.</param>
|
||||
/// <exception cref="T:System.AccessViolationException">
|
||||
/// <paramref name="ptr" /> is not a recognized format.
|
||||
/// -or-
|
||||
/// <paramref name="ptr" /> is <see langword="null" />.
|
||||
/// -or-
|
||||
/// <paramref name="ptr" /> is invalid.</exception>
|
||||
// Token: 0x06002D40 RID: 11584 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002D40")]
|
||||
[Address(RVA = "0x2CF3470", Offset = "0x2CF2470", VA = "0x182CF3470")]
|
||||
public static void WriteIntPtr(IntPtr ptr, IntPtr val)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002D41 RID: 11585 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002D41")]
|
||||
[Address(RVA = "0x2CF12F0", Offset = "0x2CF02F0", VA = "0x182CF12F0")]
|
||||
private static Exception ConvertHrToException(int errorCode)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Converts the specified HRESULT error code to a corresponding <see cref="T:System.Exception" /> object.</summary>
|
||||
/// <param name="errorCode">The HRESULT to be converted.</param>
|
||||
/// <returns>An object that represents the converted HRESULT.</returns>
|
||||
// Token: 0x06002D42 RID: 11586 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002D42")]
|
||||
[Address(RVA = "0x2CF2710", Offset = "0x2CF1710", VA = "0x182CF2710")]
|
||||
public static Exception GetExceptionForHR(int errorCode)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Converts the specified HRESULT error code to a corresponding <see cref="T:System.Exception" /> object, with additional error information passed in an IErrorInfo interface for the exception object.</summary>
|
||||
/// <param name="errorCode">The HRESULT to be converted.</param>
|
||||
/// <param name="errorInfo">A pointer to the <see langword="IErrorInfo" /> interface that provides more information about the error. You can specify IntPtr(0) to use the current <see langword="IErrorInfo" /> interface, or IntPtr(-1) to ignore the current <see langword="IErrorInfo" /> interface and construct the exception just from the error code.</param>
|
||||
/// <returns>An object that represents the converted HRESULT and information obtained from <paramref name="errorInfo" />.</returns>
|
||||
// Token: 0x06002D43 RID: 11587 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002D43")]
|
||||
[Address(RVA = "0x2CF26C0", Offset = "0x2CF16C0", VA = "0x182CF26C0")]
|
||||
public static Exception GetExceptionForHR(int errorCode, IntPtr errorInfo)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002D44 RID: 11588 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002D44")]
|
||||
[Address(RVA = "0x2CF2470", Offset = "0x2CF1470", VA = "0x182CF2470")]
|
||||
private static Delegate GetDelegateForFunctionPointerInternal(IntPtr ptr, Type t)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Converts an unmanaged function pointer to a delegate.</summary>
|
||||
/// <param name="ptr">The unmanaged function pointer to be converted.</param>
|
||||
/// <param name="t">The type of the delegate to be returned.</param>
|
||||
/// <returns>A delegate instance that can be cast to the appropriate delegate type.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">The <paramref name="t" /> parameter is not a delegate or is generic.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="ptr" /> parameter is <see langword="null" />.
|
||||
/// -or-
|
||||
/// The <paramref name="t" /> parameter is <see langword="null" />.</exception>
|
||||
// Token: 0x06002D45 RID: 11589 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002D45")]
|
||||
[Address(RVA = "0x2CF2480", Offset = "0x2CF1480", VA = "0x182CF2480")]
|
||||
public static Delegate GetDelegateForFunctionPointer(IntPtr ptr, Type t)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>[Supported in the .NET Framework 4.5.1 and later versions]
|
||||
/// Converts an unmanaged function pointer to a delegate of a specified type.</summary>
|
||||
/// <param name="ptr">The unmanaged function pointer to convert.</param>
|
||||
/// <typeparam name="TDelegate">The type of the delegate to return.</typeparam>
|
||||
/// <returns>A instance of the specified delegate type.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">The <paramref name="TDelegate" /> generic parameter is not a delegate, or it is an open generic type.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="ptr" /> parameter is <see langword="null" />.</exception>
|
||||
// Token: 0x06002D46 RID: 11590 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002D46")]
|
||||
[Address(RVA = "0x1E5F320", Offset = "0x1E5E320", VA = "0x181E5F320")]
|
||||
public static TDelegate GetDelegateForFunctionPointer<TDelegate>(IntPtr ptr)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06002D47 RID: 11591 RVA: 0x000192C0 File Offset: 0x000174C0
|
||||
[Token(Token = "0x6002D47")]
|
||||
[Address(RVA = "0x2CF27A0", Offset = "0x2CF17A0", VA = "0x182CF27A0")]
|
||||
private static IntPtr GetFunctionPointerForDelegateInternal(Delegate d)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>[Supported in the .NET Framework 4.5.1 and later versions]
|
||||
/// Converts a delegate of a specified type to a function pointer that is callable from unmanaged code.</summary>
|
||||
/// <param name="d">The delegate to be passed to unmanaged code.</param>
|
||||
/// <typeparam name="TDelegate">The type of delegate to convert.</typeparam>
|
||||
/// <returns>A value that can be passed to unmanaged code, which, in turn, can use it to call the underlying managed delegate.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">The <paramref name="d" /> parameter is a generic type definition.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="d" /> parameter is <see langword="null" />.</exception>
|
||||
// Token: 0x06002D48 RID: 11592 RVA: 0x000192D8 File Offset: 0x000174D8
|
||||
[Token(Token = "0x6002D48")]
|
||||
[Address(RVA = "0x27D7C80", Offset = "0x27D6C80", VA = "0x1827D7C80")]
|
||||
public static IntPtr GetFunctionPointerForDelegate<TDelegate>(TDelegate d)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Represents the maximum size of a double byte character set (DBCS) size, in bytes, for the current operating system. This field is read-only.</summary>
|
||||
// Token: 0x04001A04 RID: 6660
|
||||
[Token(Token = "0x4001A04")]
|
||||
public static readonly int SystemMaxDBCSCharSize;
|
||||
|
||||
/// <summary>Represents the default character size on the system; the default is 2 for Unicode systems and 1 for ANSI systems. This field is read-only.</summary>
|
||||
// Token: 0x04001A05 RID: 6661
|
||||
[Token(Token = "0x4001A05")]
|
||||
public static readonly int SystemDefaultCharSize;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,83 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Indicates how to marshal the data between managed and unmanaged code.</summary>
|
||||
// Token: 0x020005A8 RID: 1448
|
||||
[Token(Token = "0x20005A8")]
|
||||
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
|
||||
[ComVisible(true)]
|
||||
[StructLayout(0)]
|
||||
public sealed class MarshalAsAttribute : Attribute
|
||||
{
|
||||
// Token: 0x06002D4A RID: 11594 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002D4A")]
|
||||
[Address(RVA = "0x2CF0EE0", Offset = "0x2CEFEE0", VA = "0x182CF0EE0")]
|
||||
internal MarshalAsAttribute Copy()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Provides additional information to a custom marshaler.</summary>
|
||||
// Token: 0x04001A06 RID: 6662
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001A06")]
|
||||
public string MarshalCookie;
|
||||
|
||||
/// <summary>Specifies the fully qualified name of a custom marshaler.</summary>
|
||||
// Token: 0x04001A07 RID: 6663
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4001A07")]
|
||||
[ComVisible(true)]
|
||||
public string MarshalType;
|
||||
|
||||
/// <summary>Implements <see cref="F:System.Runtime.InteropServices.MarshalAsAttribute.MarshalType" /> as a type.</summary>
|
||||
// Token: 0x04001A08 RID: 6664
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4001A08")]
|
||||
[ComVisible(true)]
|
||||
public Type MarshalTypeRef;
|
||||
|
||||
/// <summary>Indicates the user-defined element type of the <see cref="F:System.Runtime.InteropServices.UnmanagedType.SafeArray" />.</summary>
|
||||
// Token: 0x04001A09 RID: 6665
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4001A09")]
|
||||
public Type SafeArrayUserDefinedSubType;
|
||||
|
||||
// Token: 0x04001A0A RID: 6666
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4001A0A")]
|
||||
private UnmanagedType utype;
|
||||
|
||||
/// <summary>Specifies the element type of the unmanaged <see cref="F:System.Runtime.InteropServices.UnmanagedType.LPArray" /> or <see cref="F:System.Runtime.InteropServices.UnmanagedType.ByValArray" />.</summary>
|
||||
// Token: 0x04001A0B RID: 6667
|
||||
[FieldOffset(Offset = "0x34")]
|
||||
[Token(Token = "0x4001A0B")]
|
||||
public UnmanagedType ArraySubType;
|
||||
|
||||
/// <summary>Indicates the element type of the <see cref="F:System.Runtime.InteropServices.UnmanagedType.SafeArray" />.</summary>
|
||||
// Token: 0x04001A0C RID: 6668
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4001A0C")]
|
||||
public VarEnum SafeArraySubType;
|
||||
|
||||
/// <summary>Indicates the number of elements in the fixed-length array or the number of characters (not bytes) in a string to import.</summary>
|
||||
// Token: 0x04001A0D RID: 6669
|
||||
[FieldOffset(Offset = "0x3C")]
|
||||
[Token(Token = "0x4001A0D")]
|
||||
public int SizeConst;
|
||||
|
||||
/// <summary>Specifies the parameter index of the unmanaged <see langword="iid_is" /> attribute used by COM.</summary>
|
||||
// Token: 0x04001A0E RID: 6670
|
||||
[FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x4001A0E")]
|
||||
public int IidParameterIndex;
|
||||
|
||||
/// <summary>Indicates the zero-based parameter that contains the count of array elements, similar to <see langword="size_is" /> in COM.</summary>
|
||||
// Token: 0x04001A0F RID: 6671
|
||||
[FieldOffset(Offset = "0x44")]
|
||||
[Token(Token = "0x4001A0F")]
|
||||
public short SizeParamIndex;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>The exception that is thrown by the marshaler when it encounters a <see cref="T:System.Runtime.InteropServices.MarshalAsAttribute" /> it does not support.</summary>
|
||||
// Token: 0x020005A2 RID: 1442
|
||||
[Token(Token = "0x20005A2")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public class MarshalDirectiveException : SystemException
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see langword="MarshalDirectiveException" /> class with default properties.</summary>
|
||||
// Token: 0x06002CD4 RID: 11476 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CD4")]
|
||||
[Address(RVA = "0x2CF0F40", Offset = "0x2CEFF40", VA = "0x182CF0F40")]
|
||||
public MarshalDirectiveException()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see langword="MarshalDirectiveException" /> class with a specified error message.</summary>
|
||||
/// <param name="message">The error message that specifies the reason for the exception.</param>
|
||||
// Token: 0x06002CD5 RID: 11477 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CD5")]
|
||||
[Address(RVA = "0x2CF0FA0", Offset = "0x2CEFFA0", VA = "0x182CF0FA0")]
|
||||
public MarshalDirectiveException(string message)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see langword="MarshalDirectiveException" /> class from serialization data.</summary>
|
||||
/// <param name="info">The object that holds the serialized object data.</param>
|
||||
/// <param name="context">The contextual information about the source or destination.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="info" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x06002CD6 RID: 11478 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CD6")]
|
||||
[Address(RVA = "0x7241B0", Offset = "0x7231B0", VA = "0x1807241B0")]
|
||||
protected MarshalDirectiveException(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Indicates that a parameter is optional.</summary>
|
||||
// Token: 0x02000593 RID: 1427
|
||||
[Token(Token = "0x2000593")]
|
||||
[ComVisible(true)]
|
||||
[AttributeUsage(AttributeTargets.Parameter)]
|
||||
public sealed class OptionalAttribute : Attribute
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see langword="OptionalAttribute" /> class with default values.</summary>
|
||||
// Token: 0x06002CB5 RID: 11445 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CB5")]
|
||||
[Address(RVA = "0x42BA20", Offset = "0x42AA20", VA = "0x18042BA20")]
|
||||
public OptionalAttribute()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Indicates that data should be marshaled from callee back to caller.</summary>
|
||||
// Token: 0x02000592 RID: 1426
|
||||
[Token(Token = "0x2000592")]
|
||||
[ComVisible(true)]
|
||||
[AttributeUsage(AttributeTargets.Parameter)]
|
||||
public sealed class OutAttribute : Attribute
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.OutAttribute" /> class.</summary>
|
||||
// Token: 0x06002CB4 RID: 11444 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CB4")]
|
||||
[Address(RVA = "0x42BA20", Offset = "0x42AA20", VA = "0x18042BA20")]
|
||||
public OutAttribute()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Indicates that the HRESULT or <see langword="retval" /> signature transformation that takes place during COM interop calls should be suppressed.</summary>
|
||||
// Token: 0x02000590 RID: 1424
|
||||
[Token(Token = "0x2000590")]
|
||||
[AttributeUsage(AttributeTargets.Method)]
|
||||
[ComVisible(true)]
|
||||
public sealed class PreserveSigAttribute : Attribute
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.PreserveSigAttribute" /> class.</summary>
|
||||
// Token: 0x06002CB2 RID: 11442 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CB2")]
|
||||
[Address(RVA = "0x42BA20", Offset = "0x42AA20", VA = "0x18042BA20")]
|
||||
public PreserveSigAttribute()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>The exception thrown when the type of the incoming <see langword="SAFEARRAY" /> does not match the type specified in the managed signature.</summary>
|
||||
// Token: 0x020005A3 RID: 1443
|
||||
[Token(Token = "0x20005A3")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public class SafeArrayTypeMismatchException : SystemException
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see langword="SafeArrayTypeMismatchException" /> class with default values.</summary>
|
||||
// Token: 0x06002CD7 RID: 11479 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CD7")]
|
||||
[Address(RVA = "0x2CFC6F0", Offset = "0x2CFB6F0", VA = "0x182CFC6F0")]
|
||||
public SafeArrayTypeMismatchException()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see langword="SafeArrayTypeMismatchException" /> class from serialization data.</summary>
|
||||
/// <param name="info">The object that holds the serialized object data.</param>
|
||||
/// <param name="context">The contextual information about the source or destination.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="info" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x06002CD8 RID: 11480 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CD8")]
|
||||
[Address(RVA = "0x7241B0", Offset = "0x7231B0", VA = "0x1807241B0")]
|
||||
protected SafeArrayTypeMismatchException(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
using System;
|
||||
using System.Runtime.ConstrainedExecution;
|
||||
using Cpp2IlInjected;
|
||||
using Microsoft.Win32.SafeHandles;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Provides a controlled memory buffer that can be used for reading and writing. Attempts to access memory outside the controlled buffer (underruns and overruns) raise exceptions.</summary>
|
||||
// Token: 0x020005A9 RID: 1449
|
||||
[Token(Token = "0x20005A9")]
|
||||
public abstract class SafeBuffer : SafeHandleZeroOrMinusOneIsInvalid
|
||||
{
|
||||
/// <summary>Obtains a pointer from a <see cref="T:System.Runtime.InteropServices.SafeBuffer" /> object for a block of memory.</summary>
|
||||
/// <param name="pointer">A byte pointer, passed by reference, to receive the pointer from within the <see cref="T:System.Runtime.InteropServices.SafeBuffer" /> object. You must set this pointer to <see langword="null" /> before you call this method.</param>
|
||||
/// <exception cref="T:System.InvalidOperationException">The <see cref="Overload:System.Runtime.InteropServices.SafeBuffer.Initialize" /> method has not been called.</exception>
|
||||
// Token: 0x06002D4B RID: 11595 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002D4B")]
|
||||
[Address(RVA = "0x2CFC750", Offset = "0x2CFB750", VA = "0x182CFC750")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
|
||||
[CLSCompliant(false)]
|
||||
public unsafe void AcquirePointer(ref byte* pointer)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Releases a pointer that was obtained by the <see cref="M:System.Runtime.InteropServices.SafeBuffer.AcquirePointer(System.Byte*@)" /> method.</summary>
|
||||
/// <exception cref="T:System.InvalidOperationException">The <see cref="Overload:System.Runtime.InteropServices.SafeBuffer.Initialize" /> method has not been called.</exception>
|
||||
// Token: 0x06002D4C RID: 11596 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002D4C")]
|
||||
[Address(RVA = "0x2CFC7E0", Offset = "0x2CFB7E0", VA = "0x182CFC7E0")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
public void ReleasePointer()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001A10 RID: 6672
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4001A10")]
|
||||
private bool inited;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,203 @@
|
||||
using System;
|
||||
using System.Runtime.ConstrainedExecution;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Represents a wrapper class for operating system handles. This class must be inherited.</summary>
|
||||
// Token: 0x020005A4 RID: 1444
|
||||
[Token(Token = "0x20005A4")]
|
||||
[StructLayout(0)]
|
||||
public abstract class SafeHandle : CriticalFinalizerObject, IDisposable
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.SafeHandle" /> class with the specified invalid handle value.</summary>
|
||||
/// <param name="invalidHandleValue">The value of an invalid handle (usually 0 or -1). Your implementation of <see cref="P:System.Runtime.InteropServices.SafeHandle.IsInvalid" /> should return <see langword="true" /> for this value.</param>
|
||||
/// <param name="ownsHandle">
|
||||
/// <see langword="true" /> to reliably let <see cref="T:System.Runtime.InteropServices.SafeHandle" /> release the handle during the finalization phase; otherwise, <see langword="false" /> (not recommended).</param>
|
||||
/// <exception cref="T:System.TypeLoadException">The derived class resides in an assembly without unmanaged code access permission.</exception>
|
||||
// Token: 0x06002CD9 RID: 11481 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CD9")]
|
||||
[Address(RVA = "0x2CFCDC0", Offset = "0x2CFBDC0", VA = "0x182CFCDC0")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
|
||||
protected SafeHandle(IntPtr invalidHandleValue, bool ownsHandle)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Frees all resources associated with the handle.</summary>
|
||||
// Token: 0x06002CDA RID: 11482 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CDA")]
|
||||
[Address(RVA = "0x2CFCBC0", Offset = "0x2CFBBC0", VA = "0x182CFCBC0", Slot = "1")]
|
||||
protected override void Finalize()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Sets the handle to the specified pre-existing handle.</summary>
|
||||
/// <param name="handle">The pre-existing handle to use.</param>
|
||||
// Token: 0x06002CDB RID: 11483 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CDB")]
|
||||
[Address(RVA = "0x415800", Offset = "0x414800", VA = "0x180415800")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
protected void SetHandle(IntPtr handle)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Returns the value of the <see cref="F:System.Runtime.InteropServices.SafeHandle.handle" /> field.</summary>
|
||||
/// <returns>An <see langword="IntPtr" /> representing the value of the <see cref="F:System.Runtime.InteropServices.SafeHandle.handle" /> field. If the handle has been marked invalid with <see cref="M:System.Runtime.InteropServices.SafeHandle.SetHandleAsInvalid" />, this method still returns the original handle value, which can be a stale value.</returns>
|
||||
// Token: 0x06002CDC RID: 11484 RVA: 0x00018E40 File Offset: 0x00017040
|
||||
[Token(Token = "0x6002CDC")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
public IntPtr DangerousGetHandle()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Gets a value indicating whether the handle is closed.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the handle is closed; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x170006CB RID: 1739
|
||||
// (get) Token: 0x06002CDD RID: 11485 RVA: 0x00018E58 File Offset: 0x00017058
|
||||
[Token(Token = "0x170006CB")]
|
||||
public bool IsClosed
|
||||
{
|
||||
[Token(Token = "0x6002CDD")]
|
||||
[Address(RVA = "0x2CFCE50", Offset = "0x2CFBE50", VA = "0x182CFCE50")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, gets a value indicating whether the handle value is invalid.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the handle value is invalid; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x170006CC RID: 1740
|
||||
// (get) Token: 0x06002CDE RID: 11486
|
||||
[Token(Token = "0x170006CC")]
|
||||
public abstract bool IsInvalid
|
||||
{
|
||||
[Token(Token = "0x6002CDE")]
|
||||
[Address(Slot = "5")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
get;
|
||||
}
|
||||
|
||||
/// <summary>Marks the handle for releasing and freeing resources.</summary>
|
||||
// Token: 0x06002CDF RID: 11487 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CDF")]
|
||||
[Address(RVA = "0x2BA3AB0", Offset = "0x2BA2AB0", VA = "0x182BA3AB0")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
public void Close()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Releases all resources used by the <see cref="T:System.Runtime.InteropServices.SafeHandle" /> class.</summary>
|
||||
// Token: 0x06002CE0 RID: 11488 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CE0")]
|
||||
[Address(RVA = "0x2BA3AB0", Offset = "0x2BA2AB0", VA = "0x182BA3AB0", Slot = "4")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
public void Dispose()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Releases the unmanaged resources used by the <see cref="T:System.Runtime.InteropServices.SafeHandle" /> class specifying whether to perform a normal dispose operation.</summary>
|
||||
/// <param name="disposing">
|
||||
/// <see langword="true" /> for a normal dispose operation; <see langword="false" /> to finalize the handle.</param>
|
||||
// Token: 0x06002CE1 RID: 11489 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CE1")]
|
||||
[Address(RVA = "0x2CFCB10", Offset = "0x2CFBB10", VA = "0x182CFCB10", Slot = "6")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, executes the code required to free the handle.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the handle is released successfully; otherwise, in the event of a catastrophic failure, <see langword="false" />. In this case, it generates a releaseHandleFailed Managed Debugging Assistant.</returns>
|
||||
// Token: 0x06002CE2 RID: 11490
|
||||
[Token(Token = "0x6002CE2")]
|
||||
[Address(Slot = "7")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
protected abstract bool ReleaseHandle();
|
||||
|
||||
/// <summary>Marks a handle as no longer used.</summary>
|
||||
// Token: 0x06002CE3 RID: 11491 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CE3")]
|
||||
[Address(RVA = "0x2CFCCF0", Offset = "0x2CFBCF0", VA = "0x182CFCCF0")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
public void SetHandleAsInvalid()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Manually increments the reference counter on <see cref="T:System.Runtime.InteropServices.SafeHandle" /> instances.</summary>
|
||||
/// <param name="success">
|
||||
/// <see langword="true" /> if the reference counter was successfully incremented; otherwise, <see langword="false" />.</param>
|
||||
// Token: 0x06002CE4 RID: 11492 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CE4")]
|
||||
[Address(RVA = "0x2CFC850", Offset = "0x2CFB850", VA = "0x182CFC850")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
|
||||
public void DangerousAddRef(ref bool success)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Manually decrements the reference counter on a <see cref="T:System.Runtime.InteropServices.SafeHandle" /> instance.</summary>
|
||||
// Token: 0x06002CE5 RID: 11493 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CE5")]
|
||||
[Address(RVA = "0x2CFCB00", Offset = "0x2CFBB00", VA = "0x182CFCB00")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
|
||||
public void DangerousRelease()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002CE6 RID: 11494 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CE6")]
|
||||
[Address(RVA = "0x2CFCC40", Offset = "0x2CFBC40", VA = "0x182CFCC40")]
|
||||
private void InternalDispose()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002CE7 RID: 11495 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CE7")]
|
||||
[Address(RVA = "0x2CFCCD0", Offset = "0x2CFBCD0", VA = "0x182CFCCD0")]
|
||||
private void InternalFinalize()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06002CE8 RID: 11496 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CE8")]
|
||||
[Address(RVA = "0x2CFC960", Offset = "0x2CFB960", VA = "0x182CFC960")]
|
||||
private void DangerousReleaseInternal(bool dispose)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Specifies the handle to be wrapped.</summary>
|
||||
// Token: 0x040019F8 RID: 6648
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40019F8")]
|
||||
protected IntPtr handle;
|
||||
|
||||
// Token: 0x040019F9 RID: 6649
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40019F9")]
|
||||
private int _state;
|
||||
|
||||
// Token: 0x040019FA RID: 6650
|
||||
[FieldOffset(Offset = "0x1C")]
|
||||
[Token(Token = "0x40019FA")]
|
||||
private bool _ownsHandle;
|
||||
|
||||
// Token: 0x040019FB RID: 6651
|
||||
[FieldOffset(Offset = "0x1D")]
|
||||
[Token(Token = "0x40019FB")]
|
||||
private bool _fullyInitialized;
|
||||
|
||||
// Token: 0x040019FC RID: 6652
|
||||
[Token(Token = "0x40019FC")]
|
||||
private const int RefCount_Mask = 2147483644;
|
||||
|
||||
// Token: 0x040019FD RID: 6653
|
||||
[Token(Token = "0x40019FD")]
|
||||
private const int RefCount_One = 4;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Controls the marshaling behavior of a delegate signature passed as an unmanaged function pointer to or from unmanaged code. This class cannot be inherited.</summary>
|
||||
// Token: 0x02000584 RID: 1412
|
||||
[Token(Token = "0x2000584")]
|
||||
[AttributeUsage(AttributeTargets.Delegate)]
|
||||
[ComVisible(true)]
|
||||
public sealed class UnmanagedFunctionPointerAttribute : Attribute
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.UnmanagedFunctionPointerAttribute" /> class with the specified calling convention.</summary>
|
||||
/// <param name="callingConvention">The specified calling convention.</param>
|
||||
// Token: 0x06002CA9 RID: 11433 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CA9")]
|
||||
[Address(RVA = "0x41F8E0", Offset = "0x41E8E0", VA = "0x18041F8E0")]
|
||||
public UnmanagedFunctionPointerAttribute(CallingConvention callingConvention)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400196B RID: 6507
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400196B")]
|
||||
private CallingConvention m_callingConvention;
|
||||
|
||||
/// <summary>Indicates how to marshal string parameters to the method, and controls name mangling.</summary>
|
||||
// Token: 0x0400196C RID: 6508
|
||||
[FieldOffset(Offset = "0x14")]
|
||||
[Token(Token = "0x400196C")]
|
||||
public CharSet CharSet;
|
||||
|
||||
/// <summary>Enables or disables best-fit mapping behavior when converting Unicode characters to ANSI characters.</summary>
|
||||
// Token: 0x0400196D RID: 6509
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400196D")]
|
||||
public bool BestFitMapping;
|
||||
|
||||
/// <summary>Enables or disables the throwing of an exception on an unmappable Unicode character that is converted to an ANSI "?" character.</summary>
|
||||
// Token: 0x0400196E RID: 6510
|
||||
[FieldOffset(Offset = "0x19")]
|
||||
[Token(Token = "0x400196E")]
|
||||
public bool ThrowOnUnmappableChar;
|
||||
|
||||
/// <summary>Indicates whether the callee calls the <see langword="SetLastError" /> Win32 API function before returning from the attributed method.</summary>
|
||||
// Token: 0x0400196F RID: 6511
|
||||
[FieldOffset(Offset = "0x1A")]
|
||||
[Token(Token = "0x400196F")]
|
||||
public bool SetLastError;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,169 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Identifies how to marshal parameters or fields to unmanaged code.</summary>
|
||||
// Token: 0x0200058D RID: 1421
|
||||
[Token(Token = "0x200058D")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public enum UnmanagedType
|
||||
{
|
||||
/// <summary>A 4-byte Boolean value (<see langword="true" /> != 0, <see langword="false" /> = 0). This is the Win32 BOOL type.</summary>
|
||||
// Token: 0x040019AC RID: 6572
|
||||
[Token(Token = "0x40019AC")]
|
||||
Bool = 2,
|
||||
/// <summary>A 1-byte signed integer. You can use this member to transform a Boolean value into a 1-byte, C-style <see langword="bool" /> (<see langword="true" /> = 1, <see langword="false" /> = 0).</summary>
|
||||
// Token: 0x040019AD RID: 6573
|
||||
[Token(Token = "0x40019AD")]
|
||||
I1,
|
||||
/// <summary>A 1-byte unsigned integer.</summary>
|
||||
// Token: 0x040019AE RID: 6574
|
||||
[Token(Token = "0x40019AE")]
|
||||
U1,
|
||||
/// <summary>A 2-byte signed integer.</summary>
|
||||
// Token: 0x040019AF RID: 6575
|
||||
[Token(Token = "0x40019AF")]
|
||||
I2,
|
||||
/// <summary>A 2-byte unsigned integer.</summary>
|
||||
// Token: 0x040019B0 RID: 6576
|
||||
[Token(Token = "0x40019B0")]
|
||||
U2,
|
||||
/// <summary>A 4-byte signed integer.</summary>
|
||||
// Token: 0x040019B1 RID: 6577
|
||||
[Token(Token = "0x40019B1")]
|
||||
I4,
|
||||
/// <summary>A 4-byte unsigned integer.</summary>
|
||||
// Token: 0x040019B2 RID: 6578
|
||||
[Token(Token = "0x40019B2")]
|
||||
U4,
|
||||
/// <summary>An 8-byte signed integer.</summary>
|
||||
// Token: 0x040019B3 RID: 6579
|
||||
[Token(Token = "0x40019B3")]
|
||||
I8,
|
||||
/// <summary>An 8-byte unsigned integer.</summary>
|
||||
// Token: 0x040019B4 RID: 6580
|
||||
[Token(Token = "0x40019B4")]
|
||||
U8,
|
||||
/// <summary>A 4-byte floating-point number.</summary>
|
||||
// Token: 0x040019B5 RID: 6581
|
||||
[Token(Token = "0x40019B5")]
|
||||
R4,
|
||||
/// <summary>An 8-byte floating-point number.</summary>
|
||||
// Token: 0x040019B6 RID: 6582
|
||||
[Token(Token = "0x40019B6")]
|
||||
R8,
|
||||
/// <summary>A currency type. Used on a <see cref="T:System.Decimal" /> to marshal the decimal value as a COM currency type instead of as a <see langword="Decimal" />.</summary>
|
||||
// Token: 0x040019B7 RID: 6583
|
||||
[Token(Token = "0x40019B7")]
|
||||
Currency = 15,
|
||||
/// <summary>A Unicode character string that is a length-prefixed double byte. You can use this member, which is the default string in COM, on the <see cref="T:System.String" /> data type.</summary>
|
||||
// Token: 0x040019B8 RID: 6584
|
||||
[Token(Token = "0x40019B8")]
|
||||
BStr = 19,
|
||||
/// <summary>A single byte, null-terminated ANSI character string. You can use this member on the <see cref="T:System.String" /> and <see cref="T:System.Text.StringBuilder" /> data types.</summary>
|
||||
// Token: 0x040019B9 RID: 6585
|
||||
[Token(Token = "0x40019B9")]
|
||||
LPStr,
|
||||
/// <summary>A 2-byte, null-terminated Unicode character string.</summary>
|
||||
// Token: 0x040019BA RID: 6586
|
||||
[Token(Token = "0x40019BA")]
|
||||
LPWStr,
|
||||
/// <summary>A platform-dependent character string: ANSI on Windows 98, and Unicode on Windows NT and Windows XP. This value is supported only for platform invoke and not for COM interop, because exporting a string of type <see langword="LPTStr" /> is not supported.</summary>
|
||||
// Token: 0x040019BB RID: 6587
|
||||
[Token(Token = "0x40019BB")]
|
||||
LPTStr,
|
||||
/// <summary>Used for in-line, fixed-length character arrays that appear within a structure. The character type used with <see cref="F:System.Runtime.InteropServices.UnmanagedType.ByValTStr" /> is determined by the <see cref="T:System.Runtime.InteropServices.CharSet" /> argument of the <see cref="T:System.Runtime.InteropServices.StructLayoutAttribute" /> attribute applied to the containing structure. Always use the <see cref="F:System.Runtime.InteropServices.MarshalAsAttribute.SizeConst" /> field to indicate the size of the array.</summary>
|
||||
// Token: 0x040019BC RID: 6588
|
||||
[Token(Token = "0x40019BC")]
|
||||
ByValTStr,
|
||||
/// <summary>A COM <see langword="IUnknown" /> pointer. You can use this member on the <see cref="T:System.Object" /> data type.</summary>
|
||||
// Token: 0x040019BD RID: 6589
|
||||
[Token(Token = "0x40019BD")]
|
||||
IUnknown = 25,
|
||||
/// <summary>A COM <see langword="IDispatch" /> pointer (<see langword="Object" /> in Microsoft Visual Basic 6.0).</summary>
|
||||
// Token: 0x040019BE RID: 6590
|
||||
[Token(Token = "0x40019BE")]
|
||||
IDispatch,
|
||||
/// <summary>A VARIANT, which is used to marshal managed formatted classes and value types.</summary>
|
||||
// Token: 0x040019BF RID: 6591
|
||||
[Token(Token = "0x40019BF")]
|
||||
Struct,
|
||||
/// <summary>A COM interface pointer. The <see cref="T:System.Guid" /> of the interface is obtained from the class metadata. Use this member to specify the exact interface type or the default interface type if you apply it to a class. This member produces the same behavior as <see cref="F:System.Runtime.InteropServices.UnmanagedType.IUnknown" /> when you apply it to the <see cref="T:System.Object" /> data type.</summary>
|
||||
// Token: 0x040019C0 RID: 6592
|
||||
[Token(Token = "0x40019C0")]
|
||||
Interface,
|
||||
/// <summary>A <see langword="SafeArray" />, which is a self-describing array that carries the type, rank, and bounds of the associated array data. You can use this member with the <see cref="F:System.Runtime.InteropServices.MarshalAsAttribute.SafeArraySubType" /> field to override the default element type.</summary>
|
||||
// Token: 0x040019C1 RID: 6593
|
||||
[Token(Token = "0x40019C1")]
|
||||
SafeArray,
|
||||
/// <summary>When the <see cref="P:System.Runtime.InteropServices.MarshalAsAttribute.Value" /> property is set to <see langword="ByValArray" />, the <see cref="F:System.Runtime.InteropServices.MarshalAsAttribute.SizeConst" /> field must be set to indicate the number of elements in the array. The <see cref="F:System.Runtime.InteropServices.MarshalAsAttribute.ArraySubType" /> field can optionally contain the <see cref="T:System.Runtime.InteropServices.UnmanagedType" /> of the array elements when it is necessary to differentiate among string types. You can use this <see cref="T:System.Runtime.InteropServices.UnmanagedType" /> only on an array that whose elements appear as fields in a structure.</summary>
|
||||
// Token: 0x040019C2 RID: 6594
|
||||
[Token(Token = "0x40019C2")]
|
||||
ByValArray,
|
||||
/// <summary>A platform-dependent, signed integer: 4 bytes on 32-bit Windows, 8 bytes on 64-bit Windows.</summary>
|
||||
// Token: 0x040019C3 RID: 6595
|
||||
[Token(Token = "0x40019C3")]
|
||||
SysInt,
|
||||
/// <summary>A platform-dependent, unsigned integer: 4 bytes on 32-bit Windows, 8 bytes on 64-bit Windows.</summary>
|
||||
// Token: 0x040019C4 RID: 6596
|
||||
[Token(Token = "0x40019C4")]
|
||||
SysUInt,
|
||||
/// <summary>A value that enables Visual Basic to change a string in unmanaged code and have the results reflected in managed code. This value is only supported for platform invoke.</summary>
|
||||
// Token: 0x040019C5 RID: 6597
|
||||
[Token(Token = "0x40019C5")]
|
||||
VBByRefStr = 34,
|
||||
/// <summary>An ANSI character string that is a length-prefixed single byte. You can use this member on the <see cref="T:System.String" /> data type.</summary>
|
||||
// Token: 0x040019C6 RID: 6598
|
||||
[Token(Token = "0x40019C6")]
|
||||
AnsiBStr,
|
||||
/// <summary>A length-prefixed, platform-dependent <see langword="char" /> string: ANSI on Windows 98, Unicode on Windows NT. You rarely use this BSTR-like member.</summary>
|
||||
// Token: 0x040019C7 RID: 6599
|
||||
[Token(Token = "0x40019C7")]
|
||||
TBStr,
|
||||
/// <summary>A 2-byte, OLE-defined VARIANT_BOOL type (<see langword="true" /> = -1, <see langword="false" /> = 0).</summary>
|
||||
// Token: 0x040019C8 RID: 6600
|
||||
[Token(Token = "0x40019C8")]
|
||||
VariantBool,
|
||||
/// <summary>An integer that can be used as a C-style function pointer. You can use this member on a <see cref="T:System.Delegate" /> data type or on a type that inherits from a <see cref="T:System.Delegate" />.</summary>
|
||||
// Token: 0x040019C9 RID: 6601
|
||||
[Token(Token = "0x40019C9")]
|
||||
FunctionPtr,
|
||||
/// <summary>A dynamic type that determines the type of an object at run time and marshals the object as that type. This member is valid for platform invoke methods only.</summary>
|
||||
// Token: 0x040019CA RID: 6602
|
||||
[Token(Token = "0x40019CA")]
|
||||
AsAny = 40,
|
||||
/// <summary>A pointer to the first element of a C-style array. When marshaling from managed to unmanaged code, the length of the array is determined by the length of the managed array. When marshaling from unmanaged to managed code, the length of the array is determined from the <see cref="F:System.Runtime.InteropServices.MarshalAsAttribute.SizeConst" /> and <see cref="F:System.Runtime.InteropServices.MarshalAsAttribute.SizeParamIndex" /> fields, optionally followed by the unmanaged type of the elements within the array when it is necessary to differentiate among string types.</summary>
|
||||
// Token: 0x040019CB RID: 6603
|
||||
[Token(Token = "0x40019CB")]
|
||||
LPArray = 42,
|
||||
/// <summary>A pointer to a C-style structure that you use to marshal managed formatted classes. This member is valid for platform invoke methods only.</summary>
|
||||
// Token: 0x040019CC RID: 6604
|
||||
[Token(Token = "0x40019CC")]
|
||||
LPStruct,
|
||||
/// <summary>Specifies the custom marshaler class when used with the <see cref="F:System.Runtime.InteropServices.MarshalAsAttribute.MarshalType" /> or <see cref="F:System.Runtime.InteropServices.MarshalAsAttribute.MarshalTypeRef" /> field. The <see cref="F:System.Runtime.InteropServices.MarshalAsAttribute.MarshalCookie" /> field can be used to pass additional information to the custom marshaler. You can use this member on any reference type. This member is valid for parameters and return values only. It cannot be used on fields.</summary>
|
||||
// Token: 0x040019CD RID: 6605
|
||||
[Token(Token = "0x40019CD")]
|
||||
CustomMarshaler,
|
||||
/// <summary>A native type that is associated with an <see cref="F:System.Runtime.InteropServices.UnmanagedType.I4" /> or an <see cref="F:System.Runtime.InteropServices.UnmanagedType.U4" /> and that causes the parameter to be exported as an HRESULT in the exported type library.</summary>
|
||||
// Token: 0x040019CE RID: 6606
|
||||
[Token(Token = "0x40019CE")]
|
||||
Error,
|
||||
/// <summary>A Windows Runtime interface pointer. You can use this member on the <see cref="T:System.Object" /> data type.</summary>
|
||||
// Token: 0x040019CF RID: 6607
|
||||
[Token(Token = "0x40019CF")]
|
||||
[ComVisible(false)]
|
||||
IInspectable,
|
||||
/// <summary>A Windows Runtime string. You can use this member on the <see cref="T:System.String" /> data type.</summary>
|
||||
// Token: 0x040019D0 RID: 6608
|
||||
[Token(Token = "0x40019D0")]
|
||||
[ComVisible(false)]
|
||||
HString,
|
||||
/// <summary>A pointer to a UTF-8 encoded string.</summary>
|
||||
// Token: 0x040019D1 RID: 6609
|
||||
[Token(Token = "0x40019D1")]
|
||||
[ComVisible(false)]
|
||||
LPUTF8Str
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,190 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Indicates how to marshal the array elements when an array is marshaled from managed to unmanaged code as a <see cref="F:System.Runtime.InteropServices.UnmanagedType.SafeArray" />.</summary>
|
||||
// Token: 0x0200058C RID: 1420
|
||||
[Token(Token = "0x200058C")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public enum VarEnum
|
||||
{
|
||||
/// <summary>Indicates that a value was not specified.</summary>
|
||||
// Token: 0x0400197F RID: 6527
|
||||
[Token(Token = "0x400197F")]
|
||||
VT_EMPTY,
|
||||
/// <summary>Indicates a null value, similar to a null value in SQL.</summary>
|
||||
// Token: 0x04001980 RID: 6528
|
||||
[Token(Token = "0x4001980")]
|
||||
VT_NULL,
|
||||
/// <summary>Indicates a <see langword="short" /> integer.</summary>
|
||||
// Token: 0x04001981 RID: 6529
|
||||
[Token(Token = "0x4001981")]
|
||||
VT_I2,
|
||||
/// <summary>Indicates a <see langword="long" /> integer.</summary>
|
||||
// Token: 0x04001982 RID: 6530
|
||||
[Token(Token = "0x4001982")]
|
||||
VT_I4,
|
||||
/// <summary>Indicates a <see langword="float" /> value.</summary>
|
||||
// Token: 0x04001983 RID: 6531
|
||||
[Token(Token = "0x4001983")]
|
||||
VT_R4,
|
||||
/// <summary>Indicates a <see langword="double" /> value.</summary>
|
||||
// Token: 0x04001984 RID: 6532
|
||||
[Token(Token = "0x4001984")]
|
||||
VT_R8,
|
||||
/// <summary>Indicates a currency value.</summary>
|
||||
// Token: 0x04001985 RID: 6533
|
||||
[Token(Token = "0x4001985")]
|
||||
VT_CY,
|
||||
/// <summary>Indicates a DATE value.</summary>
|
||||
// Token: 0x04001986 RID: 6534
|
||||
[Token(Token = "0x4001986")]
|
||||
VT_DATE,
|
||||
/// <summary>Indicates a BSTR string.</summary>
|
||||
// Token: 0x04001987 RID: 6535
|
||||
[Token(Token = "0x4001987")]
|
||||
VT_BSTR,
|
||||
/// <summary>Indicates an <see langword="IDispatch" /> pointer.</summary>
|
||||
// Token: 0x04001988 RID: 6536
|
||||
[Token(Token = "0x4001988")]
|
||||
VT_DISPATCH,
|
||||
/// <summary>Indicates an SCODE.</summary>
|
||||
// Token: 0x04001989 RID: 6537
|
||||
[Token(Token = "0x4001989")]
|
||||
VT_ERROR,
|
||||
/// <summary>Indicates a Boolean value.</summary>
|
||||
// Token: 0x0400198A RID: 6538
|
||||
[Token(Token = "0x400198A")]
|
||||
VT_BOOL,
|
||||
/// <summary>Indicates a VARIANT <see langword="far" /> pointer.</summary>
|
||||
// Token: 0x0400198B RID: 6539
|
||||
[Token(Token = "0x400198B")]
|
||||
VT_VARIANT,
|
||||
/// <summary>Indicates an <see langword="IUnknown" /> pointer.</summary>
|
||||
// Token: 0x0400198C RID: 6540
|
||||
[Token(Token = "0x400198C")]
|
||||
VT_UNKNOWN,
|
||||
/// <summary>Indicates a <see langword="decimal" /> value.</summary>
|
||||
// Token: 0x0400198D RID: 6541
|
||||
[Token(Token = "0x400198D")]
|
||||
VT_DECIMAL,
|
||||
/// <summary>Indicates a <see langword="char" /> value.</summary>
|
||||
// Token: 0x0400198E RID: 6542
|
||||
[Token(Token = "0x400198E")]
|
||||
VT_I1 = 16,
|
||||
/// <summary>Indicates a <see langword="byte" />.</summary>
|
||||
// Token: 0x0400198F RID: 6543
|
||||
[Token(Token = "0x400198F")]
|
||||
VT_UI1,
|
||||
/// <summary>Indicates an <see langword="unsigned" /><see langword="short" />.</summary>
|
||||
// Token: 0x04001990 RID: 6544
|
||||
[Token(Token = "0x4001990")]
|
||||
VT_UI2,
|
||||
/// <summary>Indicates an <see langword="unsigned" /><see langword="long" />.</summary>
|
||||
// Token: 0x04001991 RID: 6545
|
||||
[Token(Token = "0x4001991")]
|
||||
VT_UI4,
|
||||
/// <summary>Indicates a 64-bit integer.</summary>
|
||||
// Token: 0x04001992 RID: 6546
|
||||
[Token(Token = "0x4001992")]
|
||||
VT_I8,
|
||||
/// <summary>Indicates an 64-bit unsigned integer.</summary>
|
||||
// Token: 0x04001993 RID: 6547
|
||||
[Token(Token = "0x4001993")]
|
||||
VT_UI8,
|
||||
/// <summary>Indicates an integer value.</summary>
|
||||
// Token: 0x04001994 RID: 6548
|
||||
[Token(Token = "0x4001994")]
|
||||
VT_INT,
|
||||
/// <summary>Indicates an <see langword="unsigned" /> integer value.</summary>
|
||||
// Token: 0x04001995 RID: 6549
|
||||
[Token(Token = "0x4001995")]
|
||||
VT_UINT,
|
||||
/// <summary>Indicates a C style <see langword="void" />.</summary>
|
||||
// Token: 0x04001996 RID: 6550
|
||||
[Token(Token = "0x4001996")]
|
||||
VT_VOID,
|
||||
/// <summary>Indicates an HRESULT.</summary>
|
||||
// Token: 0x04001997 RID: 6551
|
||||
[Token(Token = "0x4001997")]
|
||||
VT_HRESULT,
|
||||
/// <summary>Indicates a pointer type.</summary>
|
||||
// Token: 0x04001998 RID: 6552
|
||||
[Token(Token = "0x4001998")]
|
||||
VT_PTR,
|
||||
/// <summary>Indicates a SAFEARRAY. Not valid in a VARIANT.</summary>
|
||||
// Token: 0x04001999 RID: 6553
|
||||
[Token(Token = "0x4001999")]
|
||||
VT_SAFEARRAY,
|
||||
/// <summary>Indicates a C style array.</summary>
|
||||
// Token: 0x0400199A RID: 6554
|
||||
[Token(Token = "0x400199A")]
|
||||
VT_CARRAY,
|
||||
/// <summary>Indicates a user defined type.</summary>
|
||||
// Token: 0x0400199B RID: 6555
|
||||
[Token(Token = "0x400199B")]
|
||||
VT_USERDEFINED,
|
||||
/// <summary>Indicates a null-terminated string.</summary>
|
||||
// Token: 0x0400199C RID: 6556
|
||||
[Token(Token = "0x400199C")]
|
||||
VT_LPSTR,
|
||||
/// <summary>Indicates a wide string terminated by <see langword="null" />.</summary>
|
||||
// Token: 0x0400199D RID: 6557
|
||||
[Token(Token = "0x400199D")]
|
||||
VT_LPWSTR,
|
||||
/// <summary>Indicates a user defined type.</summary>
|
||||
// Token: 0x0400199E RID: 6558
|
||||
[Token(Token = "0x400199E")]
|
||||
VT_RECORD = 36,
|
||||
/// <summary>Indicates a FILETIME value.</summary>
|
||||
// Token: 0x0400199F RID: 6559
|
||||
[Token(Token = "0x400199F")]
|
||||
VT_FILETIME = 64,
|
||||
/// <summary>Indicates length prefixed bytes.</summary>
|
||||
// Token: 0x040019A0 RID: 6560
|
||||
[Token(Token = "0x40019A0")]
|
||||
VT_BLOB,
|
||||
/// <summary>Indicates that the name of a stream follows.</summary>
|
||||
// Token: 0x040019A1 RID: 6561
|
||||
[Token(Token = "0x40019A1")]
|
||||
VT_STREAM,
|
||||
/// <summary>Indicates that the name of a storage follows.</summary>
|
||||
// Token: 0x040019A2 RID: 6562
|
||||
[Token(Token = "0x40019A2")]
|
||||
VT_STORAGE,
|
||||
/// <summary>Indicates that a stream contains an object.</summary>
|
||||
// Token: 0x040019A3 RID: 6563
|
||||
[Token(Token = "0x40019A3")]
|
||||
VT_STREAMED_OBJECT,
|
||||
/// <summary>Indicates that a storage contains an object.</summary>
|
||||
// Token: 0x040019A4 RID: 6564
|
||||
[Token(Token = "0x40019A4")]
|
||||
VT_STORED_OBJECT,
|
||||
/// <summary>Indicates that a blob contains an object.</summary>
|
||||
// Token: 0x040019A5 RID: 6565
|
||||
[Token(Token = "0x40019A5")]
|
||||
VT_BLOB_OBJECT,
|
||||
/// <summary>Indicates the clipboard format.</summary>
|
||||
// Token: 0x040019A6 RID: 6566
|
||||
[Token(Token = "0x40019A6")]
|
||||
VT_CF,
|
||||
/// <summary>Indicates a class ID.</summary>
|
||||
// Token: 0x040019A7 RID: 6567
|
||||
[Token(Token = "0x40019A7")]
|
||||
VT_CLSID,
|
||||
/// <summary>Indicates a simple, counted array.</summary>
|
||||
// Token: 0x040019A8 RID: 6568
|
||||
[Token(Token = "0x40019A8")]
|
||||
VT_VECTOR = 4096,
|
||||
/// <summary>Indicates a <see langword="SAFEARRAY" /> pointer.</summary>
|
||||
// Token: 0x040019A9 RID: 6569
|
||||
[Token(Token = "0x40019A9")]
|
||||
VT_ARRAY = 8192,
|
||||
/// <summary>Indicates that a value is a reference.</summary>
|
||||
// Token: 0x040019AA RID: 6570
|
||||
[Token(Token = "0x40019AA")]
|
||||
VT_BYREF = 16384
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Exposes the <see cref="T:System.Activator" /> class to unmanaged code.</summary>
|
||||
// Token: 0x020005AA RID: 1450
|
||||
[Token(Token = "0x20005AA")]
|
||||
[CLSCompliant(false)]
|
||||
[Guid("03973551-57A1-3900-A2B5-9083E3FF2943")]
|
||||
[ComVisible(true)]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
public interface _Activator
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Exposes the public members of the <see cref="T:System.Reflection.Assembly" /> class to unmanaged code.</summary>
|
||||
// Token: 0x020005AB RID: 1451
|
||||
[Token(Token = "0x20005AB")]
|
||||
[CLSCompliant(false)]
|
||||
[Guid("17156360-2F1A-384A-BC52-FDE93C215C5B")]
|
||||
[ComVisible(true)]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsDual)]
|
||||
public interface _Assembly
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Exposes the <see cref="T:System.Reflection.AssemblyName" /> class to unmanaged code.</summary>
|
||||
// Token: 0x020005AC RID: 1452
|
||||
[Token(Token = "0x20005AC")]
|
||||
[CLSCompliant(false)]
|
||||
[Guid("B42B6AAC-317E-34D5-9FA9-093BB4160C50")]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
[ComVisible(true)]
|
||||
public interface _AssemblyName
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Exposes the public members of the <see cref="T:System.Reflection.ConstructorInfo" /> class to unmanaged code.</summary>
|
||||
// Token: 0x020005AD RID: 1453
|
||||
[Token(Token = "0x20005AD")]
|
||||
[Guid("E9A19478-9646-3679-9B10-8411AE1FD57D")]
|
||||
[ComVisible(true)]
|
||||
[CLSCompliant(false)]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
public interface _ConstructorInfo
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Exposes the public members of the <see cref="T:System.Reflection.EventInfo" /> class to unmanaged code.</summary>
|
||||
// Token: 0x020005AE RID: 1454
|
||||
[Token(Token = "0x20005AE")]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
[Guid("9DE59C64-D889-35A1-B897-587D74469E5B")]
|
||||
[ComVisible(true)]
|
||||
[CLSCompliant(false)]
|
||||
public interface _EventInfo
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Exposes the public members of the <see cref="T:System.Exception" /> class to unmanaged code.</summary>
|
||||
// Token: 0x020005AF RID: 1455
|
||||
[Token(Token = "0x20005AF")]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsDual)]
|
||||
[ComVisible(true)]
|
||||
[Guid("b36b5c63-42ef-38bc-a07e-0b34c98f164a")]
|
||||
[CLSCompliant(false)]
|
||||
public interface _Exception
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Exposes the public members of the <see cref="T:System.Reflection.FieldInfo" /> class to unmanaged code.</summary>
|
||||
// Token: 0x020005B0 RID: 1456
|
||||
[Token(Token = "0x20005B0")]
|
||||
[Guid("8A7C1442-A9FB-366B-80D8-4939FFA6DBE0")]
|
||||
[CLSCompliant(false)]
|
||||
[ComVisible(true)]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
public interface _FieldInfo
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Exposes the public members of the <see cref="T:System.Reflection.MemberInfo" /> class to unmanaged code.</summary>
|
||||
// Token: 0x020005B1 RID: 1457
|
||||
[Token(Token = "0x20005B1")]
|
||||
[ComVisible(true)]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
[CLSCompliant(false)]
|
||||
[Guid("f7102fa9-cabb-3a74-a6da-b4567ef1b079")]
|
||||
public interface _MemberInfo
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Exposes the public members of the <see cref="T:System.Reflection.MethodBase" /> class to unmanaged code.</summary>
|
||||
// Token: 0x020005B2 RID: 1458
|
||||
[Token(Token = "0x20005B2")]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
[Guid("6240837A-707F-3181-8E98-A36AE086766B")]
|
||||
[CLSCompliant(false)]
|
||||
[ComVisible(true)]
|
||||
public interface _MethodBase
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Exposes the public members of the <see cref="T:System.Reflection.MethodInfo" /> class to unmanaged code.</summary>
|
||||
// Token: 0x020005B3 RID: 1459
|
||||
[Token(Token = "0x20005B3")]
|
||||
[ComVisible(true)]
|
||||
[Guid("FFCC1B5D-ECB8-38DD-9B01-3DC8ABC2AA5F")]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
[CLSCompliant(false)]
|
||||
public interface _MethodInfo
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Exposes the <see cref="T:System.Reflection.Module" /> class to unmanaged code.</summary>
|
||||
// Token: 0x020005B4 RID: 1460
|
||||
[Token(Token = "0x20005B4")]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
[CLSCompliant(false)]
|
||||
[ComVisible(true)]
|
||||
[Guid("D002E9BA-D9E3-3749-B1D3-D565A08B13E7")]
|
||||
public interface _Module
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Exposes the <see cref="T:System.Reflection.ParameterInfo" /> class to unmanaged code.</summary>
|
||||
// Token: 0x020005B5 RID: 1461
|
||||
[Token(Token = "0x20005B5")]
|
||||
[Guid("993634C4-E47A-32CC-BE08-85F567DC27D6")]
|
||||
[CLSCompliant(false)]
|
||||
[ComVisible(true)]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
public interface _ParameterInfo
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Exposes the public members of the <see cref="T:System.Reflection.PropertyInfo" /> class to unmanaged code.</summary>
|
||||
// Token: 0x020005B6 RID: 1462
|
||||
[Token(Token = "0x20005B6")]
|
||||
[Guid("F59ED4E4-E68F-3218-BD77-061AA82824BF")]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
[CLSCompliant(false)]
|
||||
[ComVisible(true)]
|
||||
public interface _PropertyInfo
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Exposes the <see cref="T:System.Threading.Thread" /> class to unmanaged code.</summary>
|
||||
// Token: 0x020005B7 RID: 1463
|
||||
[Token(Token = "0x20005B7")]
|
||||
[CLSCompliant(false)]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
[ComVisible(true)]
|
||||
[Guid("C281C7F1-4AA9-3517-961A-463CFED57E75")]
|
||||
public interface _Thread
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Exposes the public members of the <see cref="T:System.Type" /> class to the unmanaged code.</summary>
|
||||
// Token: 0x020005B8 RID: 1464
|
||||
[Token(Token = "0x20005B8")]
|
||||
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
[ComVisible(true)]
|
||||
[CLSCompliant(false)]
|
||||
[Guid("BCA8B44D-AAD6-3A86-8AB7-03349F4F2DA2")]
|
||||
public interface _Type
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user