MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / IsWine

Function IsWine

Sources/Shared/Environment.cpp:251–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249# endif
250
251 bool IsWine() noexcept
252 {
253 HMODULE hNtdll = ::GetModuleHandle(L"ntdll.dll");
254 return (hNtdll != nullptr && ::GetProcAddress(hNtdll, "wine_get_host_version") != nullptr);
255 }
256#endif
257
258}}

Callers 2

AppendLogFileHeaderMethod · 0.85
GetDeviceIDMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected