public static void DetourSetGlobalExclusiveACL( int[] threadIdList, int threadCount) { if (Is64Bit) { HandleErrorCode(NativeApi64.DetourSetGlobalExclusiveACL(threadIdList, threadCount)); } else { HandleErrorCode(NativeApi32.DetourSetGlobalExclusiveACL(threadIdList, threadCount)); } }