31 lines
1.2 KiB
C#
31 lines
1.2 KiB
C#
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 = "0x2AB5380", Offset = "0x2AB4180", VA = "0x182AB5380")]
|
|
public SafeRegistryHandle(IntPtr preexistingHandle, bool ownsHandle)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000307 RID: 775 RVA: 0x000033A8 File Offset: 0x000015A8
|
|
[Token(Token = "0x6000307")]
|
|
[Address(RVA = "0x460D40", Offset = "0x45FB40", VA = "0x180460D40", Slot = "7")]
|
|
protected override bool ReleaseHandle()
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
}
|