Share via


IMSVidStreamBufferSource2::get_VideoCounter method (segment.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

This topic applies to Update Rollup 2 for Microsoft Windows XP Media Center Edition 2005.

The get_VideoCounter method enables the caller to get performance statistics from the Stream Buffer Source for the video stream.

Syntax

HRESULT get_VideoCounter(
  [out] IUnknown **ppUnk
);

Parameters

[out] ppUnk

Receives a pointer to the IUnknown interface. Query this pointer for the IStreamBufferDataCounters interface. The caller must release the IUnknown interface.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.

Remarks

Returns counter interface for the video path

Requirements

Requirement Value
Target Platform Windows
Header segment.h (include Msvidctl.h)

See also

IMSVidStreamBufferSource2 Interface