IWMPEvents::Buffering

Other versions of this page are also available for the following:

8/28/2008

The Buffering event occurs when the Windows Media Player control begins or ends buffering.

Syntax

void Buffering( VARIANT_BOOL Start ); 

Parameters

  • Start
    [in]  Specifies whether buffering has begun or ended. A value of true indicates that it has begun; a value of false indicates that it has ended.

Return Values

This event does not return a value.

Remarks

Use this event to determine when buffering or downloading starts or stops. You can use the same event block for both cases and test IWMPNetwork::get_bufferingProgress and IWMPNetwork::get_downloadProgress to determine whether Windows Media Player is currently buffering or downloading content.

See Also

Reference

IWMPEvents Interface