1
Reply

What are the purposes of AddRef, Release and QueryInterface functions?

    AddRef increments reference count of the object, Release decrements reference counter of the object and QueryInterface obtains a pointer to the requested interface.