Microsoft Windows CE 3.0  

CUnknown::NonDelegatingAddRef

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Increments the reference count for an interface.

ULONG NonDelegatingAddRef( );

Return Values

Returns the reference count of the object.

Remarks

This member function provides a base class implementation of the INonDelegatingUnknown::NonDelegatingAddRefmethod. When the object derived from CUnknownis part of an aggregated object, this reference count modification is private to the embedded object.