st/nine: Print interface id in NineUnknown_QueryInterface

To ease debugging print interface id.

Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Axel Davy <axel.davy@ens.fr>
This commit is contained in:
Patrick Rudolph 2016-09-14 18:44:41 +02:00 committed by Axel Davy
parent 6a1cce20b6
commit e63a38832b
1 changed files with 3 additions and 1 deletions

View File

@ -60,8 +60,10 @@ NineUnknown_QueryInterface( struct NineUnknown *This,
void **ppvObject )
{
unsigned i = 0;
char guid_str[64];
DBG("This=%p riid=%p ppvObject=%p\n", This, riid, ppvObject);
DBG("This=%p riid=%p id=%s ppvObject=%p\n",
This, riid, riid ? GUID_sprintf(guid_str, riid) : "", ppvObject);
if (!ppvObject) return E_POINTER;