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

◆ DuplicateHandle() [2/2]

static bool Microsoft.Win32.NativeMethods.DuplicateHandle ( HandleRef hSourceProcessHandle,
SafeHandle hSourceHandle,
HandleRef hTargetProcess,
[Out] SafeWaitHandle targetHandle,
int dwDesiredAccess,
bool bInheritHandle,
int dwOptions )
inlinestatic

Definition at line 12 of file NativeMethods.cs.

13 {
14 IntPtr handle = hSourceHandle.handle;
15 if (!bInheritHandle)
16 {
17 long num = 0L;
18 hSourceHandle.DangerousRelease();
19 if (num == 0L)
20 {
21 }
22 throw new OutOfMemoryException();
23 }
24 long num2 = 0L;
25 hSourceHandle.DangerousRelease();
26 if (num2 == 0L)
27 {
28 }
29 throw new OutOfMemoryException();
30 }
class f__AnonymousType0<< Count > j__TPar

References j__TPar, and System.L.