dplayx: Fix some crashes and wine_todo's

Nikolay Sivov nsivov at codeweavers.com
Tue Oct 28 23:46:35 CDT 2014


> -    hr = IDirectPlayX_GetSessionDesc( pDP[0], lpData[0], NULL );
> +/*  hr = IDirectPlayX_GetSessionDesc( pDP[0], lpData[0], NULL );
>      checkHR( DPERR_INVALIDPARAM, hr );
>      dwDataSize=-1;
>      hr = IDirectPlayX_GetSessionDesc( pDP[0], lpData[0], &dwDataSize );
>      checkHR( DPERR_INVALIDPARAMS, hr );
> -    check( -1, dwDataSize );
> +    check( -1, dwDataSize );*/

You can't just comment out parts, if those crash on Windows put them in 
compilable block inside if (0) and add appropriate comment.



More information about the wine-devel mailing list