Gets information about whether the playback has ended or not.
HRESULT IHTMLMediaElement::get_ended(VARIANT_BOOL *p);
- Pointer to a variable of type VARIANT_BOOL that receives one of the values listed in Possible Values.
VARIANT_FALSE The playback has not reached the end of the media resource. VARIANT_TRUE The playback has reached the end of the media resource.
Returns S_OK if successful, or an error value otherwise.