Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
3/26/2014
Increments the reference count for the calling interface on an object. It should be called for every new copy of a pointer to an interface on a given object.
Syntax
ULONG AddRef(void);
Parameters
None.
Return Value
Returns an integer from 1 to n, the value of the new reference count.
This information is meant to be used for diagnostic/testing purposes only, because, in certain situations, the value might be unstable.
Remarks
This member function implements the IUnknown::AddRef method.
Requirements
Header |
dshow.h, |
Library |
ole32.lib, |