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 a waveform sound (a WAV file in particular)
WAV file recorder
sndPlaySound
..msdn    Add comment     W32 Constants      Translate this page
The sndPlaySound function plays a waveform sound specified either by a filename or by an entry in the registry or the WIN.INI file.
Code examples:
How to play a waveform sound (a WAV file in particular)
WAV file recorder
Declaration:
BOOL sndPlaySound(
  LPCSTR lpszSound,  
  UINT fuSound       
);
FoxPro declaration:
DECLARE INTEGER sndPlaySound IN winmm;
    STRING  lpszSound,;
    INTEGER fuSound
Parameters:
lpszSound
A string that specifies the sound to play.

fuSound
Flags for playing the sound.
Return value:
Returns TRUE if successful or FALSE otherwise.
Usage:
= sndPlaySound("c:\windows\media\tada.wav",;
    SND_ASYNC + SND_NODEFAULT)
My comment:
This function offers a subset of the functionality of the PlaySound function; sndPlaySound is being maintained for backward compatibility.
The PlaySound plays sound specified either by a file name, or by an entry in the registry, or by a resource identifier.

MSDN: the lpszSound parameter can be either an entry in the registry or in WIN.INI that identifies a system sound, or it can be the name of a waveform-audio file.

If the function does not find the entry, the parameter is treated as a filename. If this parameter is NULL, any currently playing sound is stopped.

See also: PlaySound
Word Index links for the sndPlaySound :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2002-01-14 20:27:12
Modified: 2008-03-25 15:41:41
Visited in last 7 days: 24
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.224.43.96)
11 sec.Function: 'waveInPrepareHeader'
22 sec.Function: 'SetDoubleClickTime'
34 sec.Function: 'WNetEnumResource'
45 sec.Function: 'waveInReset'
1.12 min.Function: 'WNetCloseEnum'
1.3 min.Function: 'SetEnvironmentVariable'
1.48 min.Function: 'SetDlgItemInt'
1.68 min.Function: 'StretchDIBits'
1.9 min.Function: 'SQLGetInfo'
2.07 min.Function: 'waveInClose'
Google
Advertise here!