MCPcopy Create free account
hub / github.com/LegacyUpdate/LegacyUpdate / AddRef

Method AddRef

LegacyUpdate/ElevationHelper.cpp:116–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114}
115
116STDMETHODIMP_(ULONG) CElevationHelper::AddRef(void) {
117 return InterlockedIncrement(&m_refCount);
118}
119
120STDMETHODIMP_(ULONG) CElevationHelper::Release(void) {
121 ULONG count = InterlockedDecrement(&m_refCount);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected