Hi, Changelog: - ICreateDevEnum_CreateClassEnumerator can return S_FALSE when there is no category, so return MK_E_NOOBJECT from IParseDisplayName_ParseDisplayName Rob
Index: wine/dlls/devenum/parsedisplayname.c =================================================================== RCS file: /home/wine/wine/dlls/devenum/parsedisplayname.c,v retrieving revision 1.2 diff -u -r1.2 parsedisplayname.c --- wine/dlls/devenum/parsedisplayname.c 22 Jul 2003 03:14:25 -0000 1.2 +++ wine/dlls/devenum/parsedisplayname.c 2 Aug 2003 15:06:30 -0000 @@ -132,6 +132,8 @@ if (SUCCEEDED(res)) { res = DEVENUM_ICreateDevEnum_CreateClassEnumerator((ICreateDevEnum *)(char*)&DEVENUM_CreateDevEnum, &clsidDevice, &pEm, 0); + if (res == S_FALSE) /* S_FALSE means no category */ + res = MK_E_NOOBJECT; } if (SUCCEEDED(res))