mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 06:30:37 +00:00
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)
|
||||
{
|
||||
LPSTR buffer = get_temp_buffer();
|
||||
|
||||
if (!guid) return "(null)";
|
||||
|
||||
/* Service providers */
|
||||
@ -124,12 +122,7 @@ static LPCSTR Guid2str(const GUID *guid)
|
||||
if (IsEqualGUID(guid, &DPAID_ComPort))
|
||||
return "DPAID_ComPort";
|
||||
|
||||
sprintf( buffer, "{%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}",
|
||||
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;
|
||||
|
||||
return wine_dbgstr_guid(guid);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user