MCPcopy Create free account
hub / github.com/crosire/reshade / AddRef

Method AddRef

source/d3d12/d3d12_command_list.cpp:102–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100 return _orig->QueryInterface(riid, ppvObj);
101}
102ULONG STDMETHODCALLTYPE D3D12GraphicsCommandList::AddRef()
103{
104 _orig->AddRef();
105 return InterlockedIncrement(&_ref);
106}
107ULONG STDMETHODCALLTYPE D3D12GraphicsCommandList::Release()
108{
109 const ULONG ref = InterlockedDecrement(&_ref);

Callers 1

QueryInterfaceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected