terraria-cpp2il-methodrecon
v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
SafeProcessHandle.cs
Go to the documentation of this file.
1
using
System
;
2
3
namespace
Microsoft.Win32.SafeHandles
4
{
5
// Token: 0x02000079 RID: 121
6
public
sealed
class
SafeProcessHandle
:
SafeHandleZeroOrMinusOneIsInvalid
7
{
8
// Token: 0x060001CB RID: 459 RVA: 0x000060DC File Offset: 0x000042DC
9
internal
SafeProcessHandle
(
IntPtr
handle
)
10
:
base
(
true
)
11
{
12
this.handle
=
handle
;
13
}
14
15
// Token: 0x060001CC RID: 460 RVA: 0x000060F8 File Offset: 0x000042F8
16
public
SafeProcessHandle
(
IntPtr
existingHandle
,
bool
ownsHandle
)
17
:
base
(
existingHandle
!= 0)
18
{
19
this.handle
=
existingHandle
;
20
}
21
22
// Token: 0x060001CD RID: 461 RVA: 0x00006114 File Offset: 0x00004314
23
protected
override
bool
ReleaseHandle
()
24
{
25
return
NativeMethods
.
CloseProcess
(this.
handle
);
26
}
27
28
// Token: 0x060001CE RID: 462 RVA: 0x0000612C File Offset: 0x0000432C
29
// Note: this type is marked as 'beforefieldinit'.
30
static
SafeProcessHandle
()
31
{
32
}
33
34
// Token: 0x0400015F RID: 351
35
internal
static
SafeProcessHandle
InvalidHandle
;
36
}
37
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Microsoft.Win32.NativeMethods.CloseProcess
static bool CloseProcess(IntPtr handle)
Definition
NativeMethods.cs:99
Microsoft.Win32.NativeMethods
Definition
NativeMethods.cs:10
Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid
Definition
SafeHandleZeroOrMinusOneIsInvalid.cs:9
Microsoft.Win32.SafeHandles.SafeProcessHandle.ReleaseHandle
override bool ReleaseHandle()
Definition
SafeProcessHandle.cs:23
Microsoft.Win32.SafeHandles.SafeProcessHandle.SafeProcessHandle
SafeProcessHandle(IntPtr existingHandle, bool ownsHandle)
Definition
SafeProcessHandle.cs:16
Microsoft.Win32.SafeHandles.SafeProcessHandle.SafeProcessHandle
static SafeProcessHandle()
Definition
SafeProcessHandle.cs:30
Microsoft.Win32.SafeHandles.SafeProcessHandle.InvalidHandle
static SafeProcessHandle InvalidHandle
Definition
SafeProcessHandle.cs:35
Microsoft.Win32.SafeHandles.SafeProcessHandle.SafeProcessHandle
SafeProcessHandle(IntPtr handle)
Definition
SafeProcessHandle.cs:9
Microsoft.Win32.SafeHandles.SafeProcessHandle
Definition
SafeProcessHandle.cs:7
System.Runtime.InteropServices.SafeHandle.handle
IntPtr handle
Definition
SafeHandle.cs:166
Microsoft.Win32.SafeHandles
Definition
CriticalHandleMinusOneIsInvalid.cs:6
System
Definition
__ComObject.cs:4
System.IntPtr
Definition
IntPtr.cs:13
source
System
Microsoft
Win32
SafeHandles
SafeProcessHandle.cs
Generated by
1.10.0