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 extract frames from AVI files
How to play AVI file on the _screen
AVIStreamGetFrame
..msdn    Add comment     W32 Constants      Translate this page
The AVIStreamGetFrame function returns the address of a decompressed video frame.
Code examples:
How to play AVI file on the _screen
How to extract frames from AVI files
Declaration:
STDAPI_(LPVOID) AVIStreamGetFrame(
  PGETFRAME pgf,
  LONG lPos
);
FoxPro declaration:
DECLARE INTEGER AVIStreamGetFrame IN avifil32;
    INTEGER pgf,;
    INTEGER lPos
Parameters:
pgf
Pointer to a GetFrame object.

lPos
Position, in samples, within the stream of the desired frame.
Return value:
Returns a pointer to the frame data if successful or NULL otherwise.
My comment:
The frame data is returned as a packed DIB. The returned frame is valid only until the next call to this function or the AVIStreamGetFrameClose function.

The packed DIB contains BITMAPINFOHEADER structure, followed sometimes by palette table, and then followed by bitmap data -- all in continuous block of memory.
Word Index links for the AVIStreamGetFrame :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2003-12-01 22:08:08
Modified: 2003-12-01 22:16:49
Visited in last 7 days: 12
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2014 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.1.68), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (174.129.74.186)
1 sec.Function: 'SendMessage'
37 sec.Function: 'GdipNewInstalledFontCollection'
39 sec.Gallery
Page 3
45 sec.Function: 'GetMenuItemCount'
58 sec.Function: 'HeapReAlloc'
Function group: 'Memory Management'
Google
Advertise here!