IHTMLBGsound::src Property

Sets or gets the URL of a sound to play.

Syntax

HRESULT IHTMLBGsound::get_src(BSTR *p);
HRESULT IHTMLBGsound::put_src(BSTR v);

Parameters

  • p
    Pointer to a variable of type BSTR that receives the URL of the sound.
  • v
    BSTR that specifies the URL of the sound.

Return Value

Returns S_OK if successful, or an error value otherwise.