MCPcopy Create free account
hub / github.com/Nevcairiel/LAVFilters / NonDelegatingAddRef

Method NonDelegatingAddRef

common/baseclasses/cprop.cpp:54–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52// Increment our reference count
53
54STDMETHODIMP_(ULONG) CBasePropertyPage::NonDelegatingAddRef()
55{
56 LONG lRef = InterlockedIncrement(&m_cRef);
57 ASSERT(lRef > 0);
58 return max(ULONG(m_cRef), 1ul);
59}
60
61// Release a reference count and protect against reentrancy
62

Callers 1

CreateInstanceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected