MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / getWindowsVersion2

Method getWindowsVersion2

source/ui/data/boxedContainer.cpp:501–508  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

499static const char szKeyEnvNT[] = "System\\CurrentControlSet\\Control\\Session Manager\\Environment";
500
501BString BoxedContainer::getWindowsVersion2() {
502 BoxedReg reg(this, false);
503 BString value;
504 if (reg.readKey("Software\\Wine", "Version", value)) {
505 return value;
506 }
507 return B("");
508}
509
510BString BoxedContainer::getWindowsVersion() {
511 BString userVer = getWindowsVersion2();

Callers

nothing calls this directly

Calls 2

BFunction · 0.85
readKeyMethod · 0.80

Tested by

no test coverage detected