Microsoft Windows CE 3.0  

CMediaSample::AddRef

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 the calling interface on an object.

ULONG AddRef(void);

Return Values

Returns an integer from 1 to n, the value of the new reference count.

Remarks

This member function implements the IUnknown::AddRefmethod.