Files
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

42 lines
1.6 KiB
C#

using System;
using Cpp2IlInjected;
namespace Microsoft.Win32.SafeHandles
{
/// <summary>Provides a managed wrapper for a process handle.</summary>
// Token: 0x02000072 RID: 114
[Token(Token = "0x2000072")]
public sealed class SafeProcessHandle : SafeHandleZeroOrMinusOneIsInvalid
{
// Token: 0x060001DF RID: 479 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60001DF")]
[Address(RVA = "0x4517C0", Offset = "0x4505C0", VA = "0x1804517C0")]
internal SafeProcessHandle(IntPtr handle)
{
}
/// <summary>Initializes a new instance of the <see cref="T:Microsoft.Win32.SafeHandles.SafeProcessHandle" /> class from the specified handle, indicating whether to release the handle during the finalization phase.</summary>
/// <param name="existingHandle">The handle to be wrapped.</param>
/// <param name="ownsHandle">
/// <see langword="true" /> to reliably let <see cref="T:Microsoft.Win32.SafeHandles.SafeProcessHandle" /> release the handle during the finalization phase; otherwise, <see langword="false" />.</param>
// Token: 0x060001E0 RID: 480 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60001E0")]
[Address(RVA = "0x451790", Offset = "0x450590", VA = "0x180451790")]
public SafeProcessHandle(IntPtr existingHandle, bool ownsHandle)
{
}
// Token: 0x060001E1 RID: 481 RVA: 0x00002880 File Offset: 0x00000A80
[Token(Token = "0x60001E1")]
[Address(RVA = "0x451720", Offset = "0x450520", VA = "0x180451720", Slot = "7")]
protected override bool ReleaseHandle()
{
return default(bool);
}
// Token: 0x04000128 RID: 296
[Token(Token = "0x4000128")]
internal static SafeProcessHandle InvalidHandle;
}
}