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

Method QueryInterface

projects/WinDurango.D3D11X/src/ID3D11Shader.cpp:6–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4// IUnknown
5//
6template <abi_t ABI> HRESULT D3D11VertexShader<ABI>::QueryInterface(REFIID riid, void **ppvObject)
7{
8 if (riid == xcom::guid_of<gfx::ID3D11VertexShader>())
9 {
10 *ppvObject = this;
11 AddRef();
12 return S_OK;
13 }
14
15 IMPLEMENT_STUB();
16 *ppvObject = nullptr;
17 return E_NOINTERFACE;
18}
19
20template <abi_t ABI> ULONG D3D11VertexShader<ABI>::AddRef()
21{

Callers

nothing calls this directly

Calls 1

AddRefFunction · 0.85

Tested by

no test coverage detected