[PATCH] pdh/tests: Add test for PdhOpenLog

Gijs Vermeulen gijsvrm at gmail.com
Fri Apr 30 07:37:44 CDT 2021


Hi,

Op do 29 apr. 2021 om 16:42 schreef Nipun Garg <nipung271 at gmail.com>:

> +static void test_PdhOpenLogA( void )
>

You never call this test anywhere, so it doesn't get run.


> +    ret = PdhOpenLogA( NULL, PDH_LOG_READ_ACCESS, PDH_LOG_TYPE_CSV, NULL,
> 0, NULL, NULL );
> +    ok(ret == PDH_INVALID_HANDLE, "PdhOpenLogA failed 0x%08x\n", ret);
>
> +    ret = PdhCloseLog( NULL, 0 );
> +    ok(ret == PDH_INVALID_HANDLE, "PdhCloseLog failed 0x%08x\n", ret);
>

Wine doesn't have these functions yet, so you'll have to handle that.

Kind regards,
Gijs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20210430/69cd9c35/attachment-0001.htm>


More information about the wine-devel mailing list