Skip to content

Commit b435223

Browse files
committed
improve logging
1 parent ead0f23 commit b435223

File tree

4 files changed

+20
-0
lines changed

4 files changed

+20
-0
lines changed

src/IDirect3D/IDirect3D.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ HRESULT __stdcall IDirect3D__QueryInterface(IDirect3DImpl* This, REFIID riid, vo
1414

1515
HRESULT ret = E_FAIL;
1616

17+
if (riid)
18+
{
19+
TRACE("NOT_IMPLEMENTED GUID = %08X\n", ((GUID*)riid)->Data1);
20+
}
21+
1722
TRACE("NOT_IMPLEMENTED <- %s\n", __FUNCTION__);
1823
return ret;
1924
}

src/IDirect3D/IDirect3D2.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ HRESULT __stdcall IDirect3D2__QueryInterface(IDirect3D2Impl* This, REFIID riid,
1414

1515
HRESULT ret = E_FAIL;
1616

17+
if (riid)
18+
{
19+
TRACE("NOT_IMPLEMENTED GUID = %08X\n", ((GUID*)riid)->Data1);
20+
}
21+
1722
TRACE("NOT_IMPLEMENTED <- %s\n", __FUNCTION__);
1823
return ret;
1924
}

src/IDirect3D/IDirect3D3.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ HRESULT __stdcall IDirect3D3__QueryInterface(IDirect3D3Impl* This, REFIID riid,
1414

1515
HRESULT ret = E_FAIL;
1616

17+
if (riid)
18+
{
19+
TRACE("NOT_IMPLEMENTED GUID = %08X\n", ((GUID*)riid)->Data1);
20+
}
21+
1722
TRACE("NOT_IMPLEMENTED <- %s\n", __FUNCTION__);
1823
return ret;
1924
}

src/IDirect3D/IDirect3D7.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ HRESULT __stdcall IDirect3D7__QueryInterface(IDirect3D7Impl* This, REFIID riid,
1414

1515
HRESULT ret = E_FAIL;
1616

17+
if (riid)
18+
{
19+
TRACE("NOT_IMPLEMENTED GUID = %08X\n", ((GUID*)riid)->Data1);
20+
}
21+
1722
TRACE("NOT_IMPLEMENTED <- %s\n", __FUNCTION__);
1823
return ret;
1924
}

0 commit comments

Comments
 (0)