IUnknown::AddRef Function
Increments the reference count. This function keeps track of the number of clients using this object. The client should call AddRef() whenever it makes a copy of the interface pointer. This way, the object knows how many copies of the object pointer are in use.
Syntax
ULONG IUnknown::AddRef(VOID);
Return Values
Return | Values |
---|---|
|
The return value is the updated reference count. |