The AddRef method increments the stream-hander or file-handler reference count.
STDMETHODIMP_(ULONG) CAVIFileCF::AddRef() { return ++m_refs; }