Contents Index Topic Contents | ||
Previous Topic: IHTMLBGsound::get_balance Next Topic: IHTMLBGsound::get_src |
IHTMLBGsound::get_loop
HRESULT get_loop( VARIANT *p );Retrieves the number of times the sound will loop when activated.
- Returns S_OK if successful, or an error value otherwise.
- p
- VARIANT structure containing a numeric value that specifies the number of times to loop. If this parameter receives -1 (infinite), the video will loop continuously.
Following are descriptions on how the loop works for some boundary cases.
<BGSOUND src="file:///c:\win95\system\msremind.wav"> once <BGSOUND src="file:///c:\win95\system\msremind.wav" LOOP> once <BGSOUND src="file:///c:\win95\system\msremind.wav" LOOP=> zero times <BGSOUND src="file:///c:\win95\system\msremind.wav" LOOP=-1> infinitely <BGSOUND src="file:///c:\win95\system\msremind.wav" LOOP=0> once See also put_loop
IHTMLBGsound::put_loop
HRESULT put_loop( VARIANT v );Sets the number of times the sound will loop when activated.
- Returns S_OK if successful, or an error value otherwise.
- v
- VARIANT structure containing the value that specifies the number of times to loop. If this parameter is -1 (infinite), the sound will loop continuously.
Following are descriptions on how loop works for some boundary cases.
<BGSOUND src="file:///c:\win95\system\msremind.wav"> once <BGSOUND src="file:///c:\win95\system\msremind.wav" LOOP> once <BGSOUND src="file:///c:\win95\system\msremind.wav" LOOP=> zero times <BGSOUND src="file:///c:\win95\system\msremind.wav" LOOP=-1> infinitely <BGSOUND src="file:///c:\win95\system\msremind.wav" LOOP=0> once See also get_loop
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.