| 52 | // Increment our reference count |
| 53 | |
| 54 | STDMETHODIMP_(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 |