Using Win32 functions in Visual FoxPro Image Gallery
Windows Multimedia
..msdn
AVIFileExit
AVIFileGetStream
AVIFileInfo
AVIFileInit
AVIFileOpen
AVIFileRelease
AVIFileWriteData
AVIStreamGetFrame
AVIStreamGetFrameClose
AVIStreamGetFrameOpen
AVIStreamInfo
AVIStreamLength
AVIStreamReadFormat
AVIStreamRelease
AVIStreamStart
AVIStreamTimeToSample
capCreateCaptureWindow
capGetDriverDescription
DrawDibClose
DrawDibDraw
DrawDibOpen
mciGetDeviceID
mciGetErrorString
mciSendCommand
mciSendString
midiOutClose
midiOutGetDevCaps
midiOutGetNumDevs
midiOutOpen
midiOutReset
midiOutShortMsg
mixerClose
mixerGetControlDetails
mixerGetDevCaps
mixerGetID
mixerGetLineControls
mixerGetLineInfo
mixerGetNumDevs
mixerOpen
mixerSetControlDetails
mmioAscend
mmioClose
mmioCreateChunk
mmioDescend
mmioFlush
mmioOpen
mmioRead
mmioSeek
mmioWrite
PlaySound
sndPlaySound
timeGetDevCaps
waveInAddBuffer
waveInClose
waveInGetDevCaps
waveInGetErrorText
waveInGetNumDevs
waveInGetPosition
waveInOpen
waveInPrepareHeader
waveInReset
waveInStart
waveInStop
waveInUnprepareHeader
waveOutClose
waveOutGetDevCaps
waveOutGetErrorText
waveOutGetNumDevs
waveOutGetPosition
waveOutGetVolume
waveOutOpen
waveOutPrepareHeader
waveOutReset
waveOutSetVolume
waveOutUnprepareHeader
waveOutWrite
Code examples:
How to play AVI file on the _screen
AVIStreamTimeToSample
..msdn    Add comment     W32 Constants      Translate this page
The AVIStreamTimeToSample function converts from milliseconds to samples.
Code examples:
How to play AVI file on the _screen
Declaration:
STDAPI_(LONG) AVIStreamTimeToSample(
  PAVISTREAM pavi,
  LONG lTime
);
FoxPro declaration:
DECLARE INTEGER AVIStreamTimeToSample IN avifil32;
    INTEGER pavi,;
    LONG    lTime

Parameters:
pavi
Handle to an open stream.

lTime
Time, expressed in milliseconds.
Return value:
Returns the converted time if successful or - 1 otherwise.
My comment:
Samples typically correspond to audio samples or video frames. Other stream types might support different formats than these.
Word Index links for the AVIStreamTimeToSample :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2003-12-02 21:30:18
Modified: 2003-12-02 21:31:35
Visited in last 7 days: 10
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.198.246.116)
15 sec.Function: 'GdipGetPropertyItemSize'
Function group: 'GDI+ Image'
34 sec.Function: 'CryptDeriveKey'
Function group: 'Cryptography Reference'
46 sec.Function: 'WSAGetLastError'
Function group: 'Windows Sockets 2 (Winsock)'
1.02 min.Example: 'Downloading files from the FTP server using InternetReadFile'
1.28 min.Articles
1.52 min.Function: 'SQLCreateDataSource'
Function group: 'ODBC API'
1.77 min.
Function group: 'Shell Lightweight Utility APIs -- string functions'
2 min.Function: 'ws_select'
Function group: 'Windows Sockets 2 (Winsock)'
2.18 min.Project
2.45 min.Function: 'CharToOem'
Function group: 'String'
Google
Advertise here!