Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Retrieves the number of times a video loops when activated.
Syntax
HRESULT get_loop( VARIANT *p );
Parameters
- p
- Value specifying the number of times to loop. If this parameter receives -1 (infinite), the video will loop continuously.
Return Value
Returns S_OK if successful, or an error value otherwise.Below are descriptions of 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
Sets the number of times a video will loop when activated.
Syntax
HRESULT put_loop( VARIANT v );
Parameters
- v
- Value specifying the number of times to loop. If this parameter is -1 (infinite), the video will loop continuously.
Return Value
Returns S_OK if successful, or an error value otherwise.Below are descriptions of 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
get_loop, IHTMLInputImage
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.