Nikolay Sivov (@nsivov) commented about dlls/propsys/tests/propsys.c:
{&PKEY_Devices_ClassGuid, L"System.Devices.ClassGuid", VT_CLSID}
- };
- IPropertySystem *system;
- HRESULT hr;
- IPropertyDescription *desc;
- SIZE_T i;
- hr = PSGetPropertySystem(&IID_IPropertySystem, (void **)&system);
- ok(hr == CO_E_NOTINITIALIZED, "got %#lx != %#lx", hr, CO_E_NOTINITIALIZED);
- CoInitialize(NULL);
- hr = CoCreateInstance(&CLSID_PropertySystem, NULL, CLSCTX_INPROC_SERVER, &IID_IPropertySystem, (void **)&system);
- ok(SUCCEEDED(hr), "got %#lx\n", hr);
- if (FAILED(hr))
- {
skip("Could not create IPropertySystem instance.\n");
The skip() is likely wrong.