Windows Media Player 11 SDK IWMPEvents::Buffering 

Windows Media Player SDK banner art

Previous Next

IWMPEvents::Buffering

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.

Requirements

Version: Windows Media Player 9 Series or later.

Header: Include wmp.h.

Library: Use wmp.dll.

See Also

Previous Next