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:
timeGetDevCaps
..msdn    Add comment     W32 Constants      Translate this page
Queries the timer device to determine its resolution.
Code examples:
Declaration:
MMRESULT timeGetDevCaps(
  LPTIMECAPS ptc,  
  UINT cbtc        
);
FoxPro declaration:
DECLARE INTEGER timeGetDevCaps IN winmm;
    STRING @ptc,;
    LONG cbtc
Parameters:
ptc
Pointer to a TIMECAPS structure. This structure is filled with information about the resolution of the timer device.

cbtc
Size, in bytes, of the TIMECAPS structure.
Return value:
Returns TIMERR_NOERROR (0) if successful.
Usage:
LOCAL cBuffer
cBuffer = REPLICATE(CHR(0), 8)

= timeGetDevCaps(@cBuffer, LEN(cBuffer))

? "Min:", buf2dword(SUBSTR(cBuffer,1,4))
? "Max:", buf2dword(SUBSTR(cBuffer,5,4))
My comment:
Normally 1 to 1000,000.
Word Index links for the timeGetDevCaps :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2009-01-07 14:35:34
Modified: 2009-01-07 14:38:03
Visited in last 7 days: 174
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 (50.19.206.49)
8 day(s)Example: 'GDI+: reading and writing metadata in JPEG and TIFF files'
 Function: 'GetTextFace'
 Function: 'JetSetColumn'
Function group: 'Extensible Storage Engine (ESE, Jet Blue)'
 Function: 'GetWindowPlacement'
Function group: 'Window'
Google
Advertise here!