[PATCH v2 2/2] services/tests: Retrieve monitor information when executed as service.
Jacek Caban
jacek at codeweavers.com
Sun Sep 30 07:05:07 CDT 2018
Hi Bernhard,
On 28/09/2018 23:08, Bernhard Übelacker wrote:
> +/* query informations monitor information, even in non-interactive services */
> +static void test_monitors(void)
> +{
> + BOOL r;
> +
> + r = EnumDisplayMonitors(0, 0, monitor_enum_proc, 0);
> + service_ok(r, "EnumDisplayMonitors failed.\n");
Note that an implementation that will not call the callback at all will
pass this test as well. It would be nice to make sure that callback was
called exactly once.
Thanks,
Jacek
More information about the wine-devel
mailing list