HBCMS更多的中文手册参考:

ITIMEMediaPlayer::hasAudio参数属性

DHTML中文手册

Retrieves a VARIANT_BOOL value that indicates whether the media contains audio.

dhtml语法

HRESULT ITIMEMediaPlayer::get_hasAudio(VARIANT_BOOL *b);

Parameters

b
Pointer to a variable of type VARIANT_BOOL that receives one of the values listed in Possible Values.

DHTML可能的值

VARIANT_FALSEThe media does not contain audio.
VARIANT_TRUEThe media has audio.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

This property is only relevant for people who are writing a custom player for HTML+TIME (Timed Interactive Multimedia Extensions).