MCPcopy Create free account
hub / github.com/WinDurango/WinDurango / QueryInterface

Method QueryInterface

projects/WinDurango.D3D11X/src/ID3D11Resource.cpp:7–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5// IUnknown
6//
7template <abi_t ABI> HRESULT D3D11Resource<ABI>::QueryInterface(REFIID riid, void **ppvObject)
8{
9 if (riid == xcom::guid_of<gfx::ID3D11Resource>())
10 {
11 *ppvObject = this;
12 AddRef();
13 return S_OK;
14 }

Callers

nothing calls this directly

Calls 1

AddRefFunction · 0.85

Tested by

no test coverage detected