Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

33 lines
1.3 KiB
C#

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);
}
}
}