HBCMS更多的中文手册参考:

ITIMEMediaPlayerAudio::volume参数属性

DHTML中文手册

Sets or retrieves the volume of the media file.

dhtml语法

HRESULT ITIMEMediaPlayerAudio::put_volume(float f);

Parameters

f
int that specifies or receives the volume of the media file. Valid values range from 0 to 100.

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).