Partager via


IWMPEvents::Buffering (Windows Embedded CE 6.0)

1/6/2010

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