IMFMediaEngineEx::GetStatistics method (mfmediaengine.h)
Gets a playback statistic from the Media Engine.
Syntax
HRESULT GetStatistics(
[in] MF_MEDIA_ENGINE_STATISTIC StatisticID,
[out] PROPVARIANT *pStatistic
);
Parameters
[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.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
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 |