dplayx/tests: Use common wine_dbgstr_guid implementation from test.h.
This commit is contained in:
parent
5e6f0e93fa
commit
5332d0e5ab
|
@ -87,8 +87,6 @@ static LPSTR get_temp_buffer(void)
|
||||||
|
|
||||||
static LPCSTR Guid2str(const GUID *guid)
|
static LPCSTR Guid2str(const GUID *guid)
|
||||||
{
|
{
|
||||||
LPSTR buffer = get_temp_buffer();
|
|
||||||
|
|
||||||
if (!guid) return "(null)";
|
if (!guid) return "(null)";
|
||||||
|
|
||||||
/* Service providers */
|
/* Service providers */
|
||||||
|
@ -124,12 +122,7 @@ static LPCSTR Guid2str(const GUID *guid)
|
||||||
if (IsEqualGUID(guid, &DPAID_ComPort))
|
if (IsEqualGUID(guid, &DPAID_ComPort))
|
||||||
return "DPAID_ComPort";
|
return "DPAID_ComPort";
|
||||||
|
|
||||||
sprintf( buffer, "{%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}",
|
return wine_dbgstr_guid(guid);
|
||||||
guid->Data1, guid->Data2, guid->Data3,
|
|
||||||
guid->Data4[0], guid->Data4[1], guid->Data4[2], guid->Data4[3],
|
|
||||||
guid->Data4[4], guid->Data4[5], guid->Data4[6], guid->Data4[7] );
|
|
||||||
return buffer;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue