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

Method AddRef

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

Source from the content-addressed store, hash-verified

11 *ppvObject = this;
12 AddRef();
13 return S_OK;
14 }
15 else if (riid == xcom::guid_of<gfx::ID3D11Texture2D>())
16 {
17 ::ID3D11Texture2D *pTex2D = nullptr;
18 HRESULT hr = m_pFunction->QueryInterface(IID_PPV_ARGS(&pTex2D));
19 if (SUCCEEDED(hr))
20 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected