[1/5] dinput: Added DI_SETTINGSNOTSAVED flag

Francois Gouget fgouget at free.fr
Mon Jan 9 16:39:09 CST 2012


On Mon, 9 Jan 2012, Lucas Fialho Zawacki wrote:

> From: Lucas Fialho Zawacki <lfzawacki at gmail.com>
> 
> ---
>  include/dinput.h |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/include/dinput.h b/include/dinput.h
> index 353ec55..cf99ecc 100644
> --- a/include/dinput.h
> +++ b/include/dinput.h
> @@ -134,6 +134,7 @@ DECL_WINELIB_TYPE_AW(LPDIRECTINPUTDEVICE8)
>  #define DI_DOWNLOADSKIPPED              ((HRESULT)0x00000003)
>  #define DI_EFFECTRESTARTED              ((HRESULT)0x00000004)
>  #define DI_TRUNCATED                    ((HRESULT)0x00000008)
> +#define DI_SETTINGSNOTSAVED             ((HRESULT)0x0000000BL)
>  #define DI_TRUNCATEDANDRESTARTED        ((HRESULT)0x0000000C)

I'm not sure the 'L' modifier is needed or makes sense (although the 
PSDK does have it). In anycase there's clearly an inconsistency in the 
above patch and we normally avoid the 'L' modifier nowadays, see for 
instance __MSABI_LONG() in include/ddeml.h.


-- 
Francois Gouget <fgouget at free.fr>              http://fgouget.free.fr/
  Good judgment comes from experience, and experience comes from bad judgment
                               -- Barry LePatner



More information about the wine-patches mailing list