apitrace / apitrace

Tools for tracing OpenGL, Direct3D, and other graphics APIs

Home Page:https://apitrace.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to capture trace of wgf11filter

HCL66666 opened this issue · comments

When I use the following command to grab the trace,
apitrace trace -a dxgi WGF11Filter.exe Filter\NoMip\Linear\1D:7383 -whql -logclean -logAll -textlog -progress
an error is reported ,error info:
apitrace: loaded into D:\HCL\HLKx64\WGF11Filter.exe
apitrace: tracing to C:\Users\chenle.huang\Desktop\WGF11Filter.60.trace
apitrace: warning: ID3D11Device5::QueryInterface: unsupported IID uuid(4bcc5537-3a9c-4573-8d65-8f5b7b15fef4)
apitrace: warning: pVtbl = 00007FFB0D140D48 (C:\Windows\SYSTEM32\d3d11.dll!+0x1d0d48)
apitrace: unloaded from D:\HCL\HLKx64\WGF11Filter.exe

Then I downloaded the apitrace source code to debug, and found that it was because the wrapIID called by WrapID3D11Device5::QueryInterface did not handle this riid:
image

The class corresponding to this guid was not found in guids_entries.h

In the past this normally happens due when new Windows builds introduce new versions of the ID3D11Device interface, or some other sibling COM interface.

I'm not sure when I'll have time to look into this.