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