[PATCH 8/8] user32/tests: Add display device interface tests.
Alexandre Julliard
julliard at winehq.org
Thu Sep 16 14:12:15 CDT 2021
Zhiyi Zhang <zzhang at codeweavers.com> writes:
> Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
> ---
> dlls/user32/tests/Makefile.in | 2 +-
> dlls/user32/tests/monitor.c | 90 +++++++++++++++++++++++++++++++++++
> 2 files changed, 91 insertions(+), 1 deletion(-)
>
> diff --git a/dlls/user32/tests/Makefile.in b/dlls/user32/tests/Makefile.in
> index dd101d69f3c..abe340403f4 100644
> --- a/dlls/user32/tests/Makefile.in
> +++ b/dlls/user32/tests/Makefile.in
> @@ -1,5 +1,5 @@
> TESTDLL = user32.dll
> -IMPORTS = user32 gdi32 advapi32 hid
> +IMPORTS = user32 gdi32 advapi32 hid setupapi
>
> C_SRCS = \
> broadcast.c \
> diff --git a/dlls/user32/tests/monitor.c b/dlls/user32/tests/monitor.c
> index bd348576726..de460187fbf 100644
> --- a/dlls/user32/tests/monitor.c
> +++ b/dlls/user32/tests/monitor.c
> @@ -3,6 +3,7 @@
> *
> * Copyright 2005 Huw Davies
> * Copyright 2008 Dmitry Timoshkov
> + * Copyright 2021 Zhiyi Zhang for CodeWeavers
> *
> * This library is free software; you can redistribute it and/or
> * modify it under the terms of the GNU Lesser General Public
> @@ -28,6 +29,11 @@
> #include "winuser.h"
> #include "winreg.h"
> #include "winternl.h"
> +#include "cfgmgr32.h"
> +#include "initguid.h"
> +#include "devguid.h"
> +#include "ntddvdeo.h"
> +#include "setupapi.h"
It looks like this belongs in the setupapi tests.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list