IMFMediaEngineEx::GetStatistics method (mfmediaengine.h)
Gets a playback statistic from the Media Engine.
HRESULT GetStatistics(
[in] MF_MEDIA_ENGINE_STATISTIC StatisticID,
[out] PROPVARIANT *pStatistic
);
[in] StatisticID
A member of the MF_MEDIA_ENGINE_STATISTIC enumeration that identifies the statistic to get.
[out] pStatistic
A pointer to a PROPVARIANT that receives the statistic. The data type and meaning of this value depends on the value of StatisticID. The caller must free the PROPVARIANT by calling PropVariantClear.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2012 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | mfmediaengine.h |