Changeset 595


Ignore:
Timestamp:
Aug 16, 2008, 5:29:20 AM (16 years ago)
Author:
NoWest
Message:

APIの定義ミス等修正。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/ablib/src/api_mmsys.sbp

    r585 r595  
    321321TypeDef LPWAVECALLBACK = *WAVECALLBACK
    322322
     323
    323324' wave callback messages
    324325Const WOM_OPEN = MM_WOM_OPEN
     
    505506Declare Function waveOutGetErrorText Lib "winmm" Alias "waveOutGetErrorTextA" (mmrError As MMRESULT, pszText As LPSTR, cchText As DWord) As MMRESULT
    506507#endif
    507 Declare Function waveOutOpen Lib "winmm" (ByRef phwo As HWAVEOUT, uDeviceID As DWord, ByRef pwfx As WAVEFORMATEX, dwCallback As DWord, dwInstance As DWord, fdwOpen As DWord) As MMRESULT
     508Declare Function waveOutOpen Lib "winmm" (ByRef phwo As HWAVEOUT, uDeviceID As DWord, ByRef pwfx As WAVEFORMATEX, dwCallback As DWORD_PTR, dwInstance As DWORD_PTR, fdwOpen As DWord) As MMRESULT
    508509Declare Function waveOutClose Lib "winmm" (hwo As HWAVEOUT) As MMRESULT
    509510Declare Function waveOutPrepareHeader Lib "winmm" (hwo As HWAVEOUT, ByRef pwh As WAVEHDR, cbwh As DWord) As MMRESULT
     
    530531Declare Function waveInGetErrorText Lib "winmm" Alias "waveInGetErrorTextA" (mmrError As MMRESULT, pszText As LPSTR, cchText As DWord) As MMRESULT
    531532#endif
    532 Declare Function waveInOpen Lib "winmm" (ByRef phwi As HWAVEIN, uDeviceID As DWord, ByRef pwfx As WAVEFORMATEX, dwCallback As DWord, dwInstance As DWord, fdwOpen As DWord) As MMRESULT
     533Declare Function waveInOpen Lib "winmm" (ByRef phwi As HWAVEIN, uDeviceID As DWord, ByRef pwfx As WAVEFORMATEX, dwCallback As DWORD_PTR, dwInstance As DWORD_PTR, fdwOpen As DWord) As MMRESULT
    533534Declare Function waveInClose Lib "winmm" (hwi As HWAVEIN) As MMRESULT
    534535Declare Function waveInPrepareHeader Lib "winmm" (hwi As HWAVEIN, ByRef pwh As WAVEHDR, cbwh As DWord) As MMRESULT
     
    646647Const MOD_FMSYNTH = 4
    647648Const MOD_MAPPER = 5
     649Const MOD_WAVETABLE = 6
     650Const MOD_SWSYNTH = 7
    648651
    649652' flags for dwSupport field of MIDIOUTCAPS structure
     
    776779Declare Function midiOutGetErrorText Lib "winmm" Alias "midiOutGetErrorTextA" (mmrError As MMRESULT, pszText As LPSTR, cchText As DWord) As MMRESULT
    777780#endif
    778 Declare Function midiOutOpen Lib "winmm" (ByRef phmo As HMIDIOUT, uDeviceID As DWord, dwCallback As DWord, dwInstance As DWord, fdwOpen As DWord) As MMRESULT
     781Declare Function midiOutOpen Lib "winmm" (ByRef phmo As HMIDIOUT, uDeviceID As DWord, dwCallback As DWORD_PTR, dwInstance As DWORD_PTR, fdwOpen As DWord) As MMRESULT
    779782Declare Function midiOutClose Lib "winmm" (hmo As HMIDIOUT) As MMRESULT
    780783Declare Function midiOutPrepareHeader Lib "winmm" (hmo As HMIDIOUT, ByRef pmh As MIDIHDR, cbmh As DWord) As MMRESULT
     
    796799Declare Function midiInGetErrorText Lib "winmm" Alias "midiInGetErrorTextA" (mmrError As MMRESULT, pszText As LPSTR, cchText As DWord) As MMRESULT
    797800#endif
    798 Declare Function midiInOpen Lib "winmm" (ByRef phmi As HMIDIIN, uDeviceID As DWord, dwCallback As DWord, dwInstance As DWord, fdwOpen As DWord) As MMRESULT
     801Declare Function midiInOpen Lib "winmm" (ByRef phmi As HMIDIIN, uDeviceID As DWord, dwCallback As DWORD_PTR, dwInstance As DWORD_PTR, fdwOpen As DWord) As MMRESULT
    799802Declare Function midiInClose Lib "winmm" (hmi As HMIDIIN) As MMRESULT
    800803Declare Function midiInPrepareHeader Lib "winmm" (hmi As HMIDIIN, ByRef pmh As MIDIHDR, cbmh As DWord) As MMRESULT
Note: See TracChangeset for help on using the changeset viewer.