IHTMLImgElement::dynsrc Property

Sets or retrieves the address of a video clip or VRML world to display in the window.


HRESULT IHTMLImgElement::get_dynsrc(BSTR *p);
HRESULT IHTMLImgElement::put_dynsrc(BSTR v);


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

Return Value

Returns S_OK if successful, or an error value otherwise.