Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
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 |