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

Method AddRef

LegacyUpdate/ClassFactory.cpp:44–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44STDMETHODIMP_(ULONG) CClassFactory::AddRef(void) {
45 return InterlockedIncrement(&m_refCount);
46}
47
48STDMETHODIMP_(ULONG) CClassFactory::Release(void) {
49 ULONG count = InterlockedDecrement(&m_refCount);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected