MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / QueryInterface

Method QueryInterface

3rdparty/d3d12memalloc/src/D3D12MemAlloc.cpp:9625–9637  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9623
9624#ifndef _D3D12MA_IUNKNOWN_IMPL_FUNCTIONS
9625HRESULT STDMETHODCALLTYPE IUnknownImpl::QueryInterface(REFIID riid, void** ppvObject)
9626{
9627 if (ppvObject == NULL)
9628 return E_POINTER;
9629 if (riid == IID_IUnknown)
9630 {
9631 ++m_RefCount;
9632 *ppvObject = this;
9633 return S_OK;
9634 }
9635 *ppvObject = NULL;
9636 return E_NOINTERFACE;
9637}
9638
9639ULONG STDMETHODCALLTYPE IUnknownImpl::AddRef()
9640{

Callers 11

NormalBlockClass · 0.45
queryMethod · 0.45
query_dispatchMethod · 0.45
queryMethod · 0.45
GetWeakReferenceFunction · 0.45
is_agileFunction · 0.45
com_multi_queryFunction · 0.45
convert_from_abiFunction · 0.45
RunWhenCompleteActionFunction · 0.45
RunWhenCompleteFunction · 0.45
WaitForCompletionFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected