mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-30 09:33:39 +01:00
Disk: add support for Windows
Also major refactoring of util/windows/wmi
This commit is contained in:
@@ -32,10 +32,10 @@ extern "C" void ffDetectHostImpl(FFHostResult* host)
|
||||
return;
|
||||
}
|
||||
|
||||
ffGetWmiObjValue(pclsObj, L"Name", &host->productName);
|
||||
ffGetWmiObjValue(pclsObj, L"Version", &host->productVersion);
|
||||
ffGetWmiObjValue(pclsObj, L"SKUNumber", &host->productSku);
|
||||
ffGetWmiObjValue(pclsObj, L"Vendor", &host->sysVendor);
|
||||
ffGetWmiObjString(pclsObj, L"Name", &host->productName);
|
||||
ffGetWmiObjString(pclsObj, L"Version", &host->productVersion);
|
||||
ffGetWmiObjString(pclsObj, L"SKUNumber", &host->productSku);
|
||||
ffGetWmiObjString(pclsObj, L"Vendor", &host->sysVendor);
|
||||
|
||||
pclsObj->Release();
|
||||
pEnumerator->Release();
|
||||
|
||||
Reference in New Issue
Block a user