MCPcopy Create free account
hub / github.com/InoriRus/Kyty / ResolveSleepConditionVariableCS

Function ResolveSleepConditionVariableCS

source/lib/Core/src/Threads.cpp:63–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 return nullptr;
62}
63static 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

Callers 2

WaitMethod · 0.85
WaitForMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected