Share via


Windows Media Player 11 SDK IWMPNetwork::get_receivedPackets 

Windows Media Player SDK banner art

Previous Next

IWMPNetwork::get_receivedPackets

The get_receivedPackets method retrieves the number of packets received.

Syntax

  

Parameters

plReceivedPackets

[out]  Pointer to a long containing the received packets.

Return Values

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK The method succeeded.

Remarks

Each time playback is stopped and restarted, the value retrieved from this method is reset to zero. The value is not reset if playback is paused.

Requirements

Version: Windows Media Player 9 Series or later.

Header: Include wmp.h.

Library: Use wmp.dll.

See Also

Previous Next