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

Method AddRef

source/com_utils.hpp:55–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53 _ref(0), _callback(std::move(callback)) {}
54
55 ULONG STDMETHODCALLTYPE AddRef() override
56 {
57 return InterlockedIncrement(&_ref);
58 }
59 ULONG STDMETHODCALLTYPE Release() override
60 {
61 const ULONG ref = InterlockedDecrement(&_ref);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected