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:
Enumerating MIDI output devices
How to play MIDI notes
midiOutOpen
..msdn    Add comment     W32 Constants      Translate this page
Opens a MIDI output device for playback.
Code examples:
How to play MIDI notes
Enumerating MIDI output devices
Declaration:
MMRESULT midiOutOpen(
  LPHMIDIOUT lphmo,
  UINT_PTR   uDeviceID,
  DWORD_PTR  dwCallback,
  DWORD_PTR  dwCallbackInstance,
  DWORD      dwFlags
);
FoxPro declaration:
DECLARE INTEGER midiOutOpen IN Winmm;
    INTEGER @lphmo,;
    INTEGER uDeviceID,;
    INTEGER dwCallback,;
    INTEGER dwCallbackInstance,;
    INTEGER dwFlags

Parameters:
lphmo
Pointer to an HMIDIOUT handle. This location is filled with a handle identifying the opened MIDI output device. The handle is used to identify the device in calls to other MIDI output functions.

uDeviceID
Identifier of the MIDI output device that is to be opened.

dwCallback
Pointer to a callback function, an event handle, a thread identifier, or a handle of a window or thread called during MIDI playback to process messages related to the progress of the playback.

dwCallbackInstance
User instance data passed to the callback. This parameter is not used with window callbacks or threads.

dwFlags
Callback flag for opening the device. It can be the following values.
Return value:
Returns MMSYSERR_NOERROR (0) if successful or an error otherwise.
My comment:
See also: midiOutGetNumDevs, midiOutClose.
Word Index links for the midiOutOpen :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2006-03-02 09:09:23
Modified: 2006-03-02 09:11:50
Visited in last 7 days: 42
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.147.40.153)
9 sec.Articles
27 sec.Function: 'NetShareEnum'
Function group: 'Network Management'
38 sec.Function: 'CeWriteFile'
Function group: 'Remote Application Programming (RAPI)'
48 sec.Gallery
Page 5
58 sec.Function: 'CeRegDeleteKey'
Function group: 'Remote Application Programming (RAPI)'
1.13 min.Function: 'NetServerEnum'
Function group: 'Network Management'
1.28 min.Function: 'WaitForSingleObject'
1.45 min.Links
1.62 min.Function: 'NetGroupEnum'
Function group: 'Network Management'
1.78 min.Function: 'CeSetFilePointer'
Function group: 'Remote Application Programming (RAPI)'
Google
Advertise here!