m
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace Microsoft.Win32.SafeHandles
|
||||
{
|
||||
/// <summary>Represents a wrapper class for a file handle.</summary>
|
||||
// Token: 0x02000070 RID: 112
|
||||
[Token(Token = "0x2000070")]
|
||||
public sealed class SafeFileHandle : SafeHandleZeroOrMinusOneIsInvalid
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:Microsoft.Win32.SafeHandles.SafeFileHandle" /> class.</summary>
|
||||
/// <param name="preexistingHandle">An <see cref="T:System.IntPtr" /> object that represents the pre-existing handle to use.</param>
|
||||
/// <param name="ownsHandle">
|
||||
/// <see langword="true" /> to reliably release the handle during the finalization phase; <see langword="false" /> to prevent reliable release (not recommended).</param>
|
||||
// Token: 0x06000302 RID: 770 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000302")]
|
||||
[Address(RVA = "0xDB8C40", Offset = "0xDB7C40", VA = "0x180DB8C40")]
|
||||
public SafeFileHandle(IntPtr preexistingHandle, bool ownsHandle)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06000303 RID: 771 RVA: 0x00003378 File Offset: 0x00001578
|
||||
[Token(Token = "0x6000303")]
|
||||
[Address(RVA = "0xDB8BD0", Offset = "0xDB7BD0", VA = "0x180DB8BD0", Slot = "7")]
|
||||
protected override bool ReleaseHandle()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace Microsoft.Win32.SafeHandles
|
||||
{
|
||||
// Token: 0x02000071 RID: 113
|
||||
[Token(Token = "0x2000071")]
|
||||
internal sealed class SafeFindHandle : SafeHandleZeroOrMinusOneIsInvalid
|
||||
{
|
||||
// Token: 0x06000304 RID: 772 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000304")]
|
||||
[Address(RVA = "0xDB8D00", Offset = "0xDB7D00", VA = "0x180DB8D00")]
|
||||
internal SafeFindHandle(IntPtr preexistingHandle)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06000305 RID: 773 RVA: 0x00003390 File Offset: 0x00001590
|
||||
[Token(Token = "0x6000305")]
|
||||
[Address(RVA = "0xDB8CA0", Offset = "0xDB7CA0", VA = "0x180DB8CA0", Slot = "7")]
|
||||
protected override bool ReleaseHandle()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
using System;
|
||||
using System.Runtime.ConstrainedExecution;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace Microsoft.Win32.SafeHandles
|
||||
{
|
||||
/// <summary>Provides a base class for Win32 safe handle implementations in which the value of either 0 or -1 indicates an invalid handle.</summary>
|
||||
// Token: 0x02000074 RID: 116
|
||||
[Token(Token = "0x2000074")]
|
||||
public abstract class SafeHandleZeroOrMinusOneIsInvalid : SafeHandle
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid" /> class, specifying whether the handle is to be reliably released.</summary>
|
||||
/// <param name="ownsHandle">
|
||||
/// <see langword="true" /> to reliably release the handle during the finalization phase; <see langword="false" /> to prevent reliable release (not recommended).</param>
|
||||
// Token: 0x0600030A RID: 778 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600030A")]
|
||||
[Address(RVA = "0xDB8D50", Offset = "0xDB7D50", VA = "0x180DB8D50")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
|
||||
protected SafeHandleZeroOrMinusOneIsInvalid(bool ownsHandle)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets a value that indicates whether the handle is invalid.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the handle is not valid; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x17000067 RID: 103
|
||||
// (get) Token: 0x0600030B RID: 779 RVA: 0x000033D8 File Offset: 0x000015D8
|
||||
[Token(Token = "0x17000067")]
|
||||
public override bool IsInvalid
|
||||
{
|
||||
[Token(Token = "0x600030B")]
|
||||
[Address(RVA = "0xDB8DA0", Offset = "0xDB7DA0", VA = "0x180DB8DA0", Slot = "5")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace Microsoft.Win32.SafeHandles
|
||||
{
|
||||
/// <summary>Represents a safe handle to the Windows registry.</summary>
|
||||
// Token: 0x02000072 RID: 114
|
||||
[Token(Token = "0x2000072")]
|
||||
public sealed class SafeRegistryHandle : SafeHandleZeroOrMinusOneIsInvalid
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:Microsoft.Win32.SafeHandles.SafeRegistryHandle" /> class.</summary>
|
||||
/// <param name="preexistingHandle">An object that represents the pre-existing handle to use.</param>
|
||||
/// <param name="ownsHandle">
|
||||
/// <see langword="true" /> to reliably release the handle during the finalization phase; <see langword="false" /> to prevent reliable release.</param>
|
||||
// Token: 0x06000306 RID: 774 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000306")]
|
||||
[Address(RVA = "0xDB8C40", Offset = "0xDB7C40", VA = "0x180DB8C40")]
|
||||
public SafeRegistryHandle(IntPtr preexistingHandle, bool ownsHandle)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06000307 RID: 775 RVA: 0x000033A8 File Offset: 0x000015A8
|
||||
[Token(Token = "0x6000307")]
|
||||
[Address(RVA = "0x4246A0", Offset = "0x4236A0", VA = "0x1804246A0", Slot = "7")]
|
||||
protected override bool ReleaseHandle()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using System.Runtime.ConstrainedExecution;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace Microsoft.Win32.SafeHandles
|
||||
{
|
||||
/// <summary>Represents a wrapper class for a wait handle.</summary>
|
||||
// Token: 0x02000073 RID: 115
|
||||
[Token(Token = "0x2000073")]
|
||||
public sealed class SafeWaitHandle : SafeHandleZeroOrMinusOneIsInvalid
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:Microsoft.Win32.SafeHandles.SafeWaitHandle" /> class.</summary>
|
||||
/// <param name="existingHandle">An <see cref="T:System.IntPtr" /> object that represents the pre-existing handle to use.</param>
|
||||
/// <param name="ownsHandle">
|
||||
/// <see langword="true" /> to reliably release the handle during the finalization phase; <see langword="false" /> to prevent reliable release (not recommended).</param>
|
||||
// Token: 0x06000308 RID: 776 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000308")]
|
||||
[Address(RVA = "0xDB8C40", Offset = "0xDB7C40", VA = "0x180DB8C40")]
|
||||
[ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)]
|
||||
public SafeWaitHandle(IntPtr existingHandle, bool ownsHandle)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06000309 RID: 777 RVA: 0x000033C0 File Offset: 0x000015C0
|
||||
[Token(Token = "0x6000309")]
|
||||
[Address(RVA = "0xDB8E00", Offset = "0xDB7E00", VA = "0x180DB8E00", Slot = "7")]
|
||||
protected override bool ReleaseHandle()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user