private static extern Boolean GetThreadWaitChain(SafeWctHandle wctHandle, IntPtr context, OutOfProcess flags, Int32 threadId, ref Int32 nodeCount, Byte[] nodeBytes, [MarshalAs(UnmanagedType.Bool)] out Boolean isCycle);
public WaitChain() { m_wct = OpenThreadWaitChainSession(WctSession.Synchronous, null); }