mmcss::set_thread_priority (task_handle, mmcss::AVRT_PRIORITY_NORMAL);
#endif
- DWORD tid = GetThreadId (GetCurrentThread ());
+ DWORD tid = GetCurrentThreadId ();
DEBUG_THREADS (string_compose ("Process Thread Child ID: %1\n", tid));
f ();
mmcss::set_thread_priority (task_handle, mmcss::AVRT_PRIORITY_NORMAL);
#endif
- DWORD tid = GetThreadId (GetCurrentThread ());
+ DWORD tid = GetCurrentThreadId ();
DEBUG_THREADS (string_compose ("Process Thread Master ID: %1\n", tid));
while (_run) {
static HANDLE input_thread = GetCurrentThread ();
static bool priority_boosted = false;
+#if 0 // GetThreadId() is Vista or later only.
if (input_thread != GetCurrentThread ()) {
DWORD otid = GetThreadId (input_thread);
DWORD ntid = GetThreadId (GetCurrentThread ());
DEBUG_THREADS (string_compose (
"WinMME input Thread ID Changed: was %1, now %2\n", otid, ntid));
}
+#endif
HANDLE task_handle;