|Microsoft DirectX 9.0|
The get_LostPackets method retrieves the number of packets that have been lost.
HRESULT get_LostPackets( long *pLostPackets );
Pointer to a variable that receives the number of lost packets.
If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.
This property is only valid for streaming media, and will equal zero when using the HTTP protocol, which is lossless. Packets may be lost for a number of reasons, such as the type and quality of the network connection.
Whenever playback is stopped and restarted, this property is set to zero. It is not reset if playback is paused and restarted.