Compartir a través de


CMediaSample::AddRef (Compact 2013)

3/26/2014

Increments the reference count for the calling interface on an object.

Syntax

ULONG AddRef(void);

Parameters

None.

Return Value

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

Remarks

This member function implements the IUnknown::AddRef method.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CMediaSample Class