MCPcopy Create free account
hub / github.com/GameTechDev/PresentMon / AddRef

Method AddRef

ETLTrimmer/main.cpp:188–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186 return S_OK;
187 }
188 STDMETHODIMP_(ULONG) AddRef(void)
189 {
190 return InterlockedIncrement(&ref_count_);
191 }
192 STDMETHODIMP_(ULONG) Release()
193 {
194 ULONG ucount = InterlockedDecrement(&ref_count_);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected