Windows Media Player 11 SDK IWMPNetwork::get_bufferingCount
The get_bufferingCount method retrieves the number of times buffering occurred during playback.
HRESULT get_bufferingCount( long* plBufferingCount );
[out] Pointer to a long containing the buffering count.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
|S_OK||The method succeeded.|
Each time playback is stopped and restarted, the value retrieved from this method is zero. It is not reset if playback is paused.
Buffering only applies to streaming content. This method retrieves valid information only during run time when the URL for playback is set by using the IWMPCore::put_URL method.
Version: Windows Media Player 9 Series or later.
Header: Include wmp.h.
Library: Use wmp.dll.