internal static extern bool GetThreadWaitChain( WctHandle wctHandle, IntPtr context, WCT_FLAGS flags, int threadId, ref int nodeCount, [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 4)] [In] [Out] WAITCHAIN_NODE_INFO[] nodeInfoArray, out int isCycle);
private static extern bool RealGetThreadWaitChain(SafeWaitChainHandle WctHandle, IntPtr Context, WCT_FLAGS Flags, int ThreadId, ref int NodeCount, [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 4)] [In, Out] WAITCHAIN_NODE_INFO[] NodeInfoArray, out int IsCycle);
private static extern bool RealGetThreadWaitChain(SafeWaitChainHandle WctHandle, IntPtr Context, WCT_FLAGS Flags, int ThreadId, ref int NodeCount, [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 4)][In, Out] WAITCHAIN_NODE_INFO[] NodeInfoArray, out int IsCycle);