[PATCH 2/2] winmm: MCI_BREAK_HWND handling now matches Wine's 1999 MCI_DefYieldProc.

Alexandre Julliard julliard at winehq.org
Thu Feb 28 15:02:23 CST 2013


<Joerg-Cyril.Hoehle at t-systems.com> writes:

> @@ -2063,9 +2063,10 @@ static	DWORD MCI_Break(UINT wDevID, DWORD dwFlags, LPMCI_BREAK_PARMS lpParms)
>      switch (dwFlags & (MCI_BREAK_KEY | MCI_BREAK_OFF)) {
>      case MCI_BREAK_KEY:
>  	wmd->lpfnYieldProc = MCI_DefYieldProc;
> -	wmd->dwYieldData   = lpParms->nVirtKey;
> -	if (dwFlags & MCI_BREAK_HWND)
> -	    FIXME("(%x) vkey %02X on window %p\n", dwFlags, lpParms->nVirtKey, lpParms->hwndBreak);
> +	/* Our MCI_DefYieldProc from 1999-04-11 expects this DWORD splitting,
> +	 * yet tests on w2k-w7 prove wmd->dwYieldData = lpParms->nVirtKey; */

It doesn't make sense to add workarounds for Wine code, it should be
fixed instead.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list