| 61 | return nullptr; |
| 62 | } |
| 63 | static SleepConditionVariableCS_func_t ResolveSleepConditionVariableCS() |
| 64 | { |
| 65 | if (HMODULE h = GetModuleHandle("KernelBase"); h != nullptr) |
| 66 | { |
| 67 | return reinterpret_cast<SleepConditionVariableCS_func_t>(GetProcAddress(h, "SleepConditionVariableCS")); |
| 68 | } |
| 69 | return nullptr; |
| 70 | } |
| 71 | |
| 72 | #endif |
| 73 |