delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/10/09:22:52

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: heiko <heiko AT hexco DOT de>
Organization: Eissfeldt Consulting
To: cygwin AT cygwin DOT com
Subject: 1.3.15-1: small bug in win32/mmsystem.h waveOutOpen prototype
Date: Sun, 10 Nov 2002 15:23:08 +0100
MIME-Version: 1.0
Message-Id: <200211101523.08299.heiko@hexco.de>

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019