Commit 9ceb9720 authored by Detlef Riekenberg's avatar Detlef Riekenberg Committed by Alexandre Julliard

devenum/tests: Accept ERROR_KEY_DOES_NOT_EXIST from IPropertyBag_Read.

parent 5fa06bbc
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#include "mmddk.h" #include "mmddk.h"
#include "vfw.h" #include "vfw.h"
#include "dmoreg.h" #include "dmoreg.h"
#include "setupapi.h"
DEFINE_GUID(GUID_NULL,0,0,0,0,0,0,0,0,0,0,0); DEFINE_GUID(GUID_NULL,0,0,0,0,0,0,0,0,0,0,0);
...@@ -122,7 +123,8 @@ static void test_devenum(IBindCtx *bind_ctx) ...@@ -122,7 +123,8 @@ static void test_devenum(IBindCtx *bind_ctx)
ok(hr == S_OK, "IMoniker_BindToStorage failed with error %x\n", hr); ok(hr == S_OK, "IMoniker_BindToStorage failed with error %x\n", hr);
hr = IPropertyBag_Read(prop_bag, friendly_name, &var, NULL); hr = IPropertyBag_Read(prop_bag, friendly_name, &var, NULL);
ok(hr == S_OK, "IPropertyBag_Read failed: %#x\n", hr); ok((hr == S_OK) | (hr == ERROR_KEY_DOES_NOT_EXIST),
"IPropertyBag_Read failed: %#x\n", hr);
if (winetest_debug > 1) if (winetest_debug > 1)
trace(" %s %s\n", wine_dbgstr_w(displayname), wine_dbgstr_w(V_BSTR(&var))); trace(" %s %s\n", wine_dbgstr_w(displayname), wine_dbgstr_w(V_BSTR(&var)));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment