Lines Matching refs:MW_DWORD
44 MW_DWORD id;
114 static MW_DWORD __stdcall ThreadFuncInternal(void *pThread) in ThreadFuncInternal()
167 MW_DWORD res = ::SetThreadIdealProcessor(thread, cpuCore);
169 MT_ASSERT(res != (MW_DWORD)-1, "SetThreadIdealProcessor failed!");
179 MT_ASSERT(res != (MW_DWORD)-1, "ResumeThread failed!");
200 const MW_DWORD MW_MSVC_EXCEPTION = 0x406D1388; in SetThreadName()
205 MW_DWORD dwType; // Must be 0x1000. in SetThreadName()
207 MW_DWORD dwThreadID; // Thread ID (-1=caller thread). in SetThreadName()
208 MW_DWORD dwFlags; // Reserved for future use, must be zero. in SetThreadName()
235 MW_DWORD res = ::SetThreadIdealProcessor( ::GetCurrentThread(), cpuCore);
237 MT_ASSERT(res != (MW_DWORD)-1, "SetThreadIdealProcessor failed!");