This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

1.3.15-1: small bug in win32/mmsystem.h waveOutOpen prototype


Hi,

according to Microsofts description the prototype for waveOutOpen()
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/mmfunc_36b2.asp
is a bit wrong:

MMRESULT WINAPI waveOutOpen
(LPHWAVEOUT,UINT,LPCWAVEFORMATEX,DWORD,DWORD,DWORD);

It should be
MMRESULT WINAPI waveOutOpen
(LPHWAVEOUT,UINT,LPCWAVEFORMATEX,PDWORD,PDWORD,DWORD);

Further the 2nd parameter is declared differently at microsofts header:
PUINT instead of UINT
This affects the WAVE_MAPPER definition also.

Thanks for your good work,
Heiko Eißfeldt

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]