7using _003CCppImplementationDetails_003E;
37 public unsafe
static int Initialize(
void* parentExitEvent)
39 if (parentExitEvent ==
null)
44 int num =
instance.InitializeInstance(parentExitEvent);
60 uint
num3 = uint.MaxValue;
61 uint
num4 = uint.MaxValue;
62 uint
num5 = uint.MaxValue;
63 uint
num6 = uint.MaxValue;
64 uint
num7 = uint.MaxValue;
112 if (
num8 == uint.MaxValue)
114 uint
lastError = global::_003CModule_003E.GetLastError();
136 nativeToManagedCallback.dupedWaitHandle = (
void*)(-1);
178 global::_003CModule_003E.Sleep(0
u);
187 uint
lastError = global::_003CModule_003E.GetLastError();
205 uint
lastError2 = global::_003CModule_003E.GetLastError();
274 uint
lastError = global::_003CModule_003E.GetLastError();
279 uint
lastError2 = global::_003CModule_003E.GetLastError();
284 uint
lastError3 = global::_003CModule_003E.GetLastError();
289 uint
lastError4 = global::_003CModule_003E.GetLastError();
316 uint
lastError = global::_003CModule_003E.GetLastError();
331 int num = ((global::_003CModule_003E.DuplicateHandle(global::_003CModule_003E.GetCurrentProcess(),
waitForThisHandle, global::_003CModule_003E.GetCurrentProcess(), &
ptr, 0
u, 0, 2
u) == 0) ? (-2147467259) : 0);
335 if (
ptr !=
null &&
ptr != (
void*)(-1))
337 global::_003CModule_003E.CloseHandle(
ptr);
352 uint
lastError = global::_003CModule_003E.GetLastError();
int HasRoomForAnotherWaitHandle()
unsafe WindowsManagedCallbackHandler()
static int CallManagedFunctionForMe(ManagedCallType managedCallType, uint args)
void _007EWindowsManagedCallbackHandler()
unsafe void * _newCallbackRegistered
unsafe void * _callManagedPlease
unsafe void * _parentExitEvent
static unsafe int Initialize(void *parentExitEvent)
~WindowsManagedCallbackHandler()
unsafe int CallManagedFunctionForMeImpl(ManagedCallType managedCallType, uint args)
virtual void Dispose([MarshalAs(UnmanagedType.U1)] bool P_0)
List< NativeToManagedCallback > nativeToManagedCallbacks
object _proxyProcessHandlerSyncObject
unsafe int WaitForAsyncOperationToFinish(out ManagedCallType managedCallType, out uint managedCallArgs)
static WindowsManagedCallbackHandler instance
IProxyProcessHandler _proxyProcessHandler
ManagedCallType _managedCallType
unsafe void * _proxyProcessNeedsToChange
unsafe void _0021WindowsManagedCallbackHandler()
unsafe void * _managedFunctionDataCanBeWritten
static unsafe int RegisterNativeToManagedCallback(void *waitForThisHandle, delegate *< void *, void *, ManagedCallType *, uint *, bool *, int > eventSignalledFunc, void *pContext)
unsafe int InitializeInstance(void *parentExitEvent)
static WindowsManagedCallbackHandler Instance
unsafe int RegisterNativeToManagedCallbackImpl(void *waitForThisHandle, delegate *< void *, void *, ManagedCallType *, uint *, bool *, int > eventSignalledFunc, void *pContext)
unsafe int SetProxyProcessHandler(IProxyProcessHandler proxyProcessHandler)
static void SuppressFinalize(object obj)
static void Exit(object obj)
static void Enter(object obj)
static Thread CurrentThread
ManagedCallType AsyncManagedCallType
uint AsyncManagedCallArgument
IntPtr SharedAsyncDataSafeToWrite
unsafe void * ToPointer()