Commit d22a32b5 authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

mmdevapi/tests: Use common wine_dbgstr_guid implementation from test.h.

parent 21ff4134
......@@ -30,17 +30,6 @@
#include "dshow.h"
#include "dsound.h"
static inline const char *dump_guid( const GUID *id )
{
static char data[39];
if (!id) return "(null)";
wsprintfA( data, "{%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}",
id->Data1, id->Data2, id->Data3,
id->Data4[0], id->Data4[1], id->Data4[2], id->Data4[3],
id->Data4[4], id->Data4[5], id->Data4[6], id->Data4[7] );
return data;
}
START_TEST(dependency)
{
HRESULT hr;
......@@ -93,7 +82,7 @@ START_TEST(dependency)
hr = IBaseFilter_GetClassID(bf, &clsid);
ok(hr == S_OK, "GetClassId failed with 0x%08x\n", hr);
if (hr == S_OK)
ok(IsEqualCLSID(&clsid, &CLSID_DSoundRender), "Wrong class id %s\n", dump_guid(&clsid));
ok(IsEqualCLSID(&clsid, &CLSID_DSoundRender), "Wrong class id %s\n", wine_dbgstr_guid(&clsid));
}
}
......
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