[PATCH v7 2/6] ntdll/tests: Move NtAllocateVirtualMemory tests that were in kernel32

Huw Davies huw at codeweavers.com
Tue Jun 4 04:11:08 CDT 2019


On Fri, May 31, 2019 at 12:01:59PM +0200, RĂ©mi Bernon wrote:
> diff --git a/dlls/ntdll/tests/virtual.c b/dlls/ntdll/tests/virtual.c
> new file mode 100644
> index 00000000000..0434c29af31
> --- /dev/null
> +++ b/dlls/ntdll/tests/virtual.c
> @@ -0,0 +1,98 @@

You need the file's licence and copyright header.
Copy it from kernel32/tests/virtual.c

> +#include <stdio.h>
> +
> +#include "ntstatus.h"
> +#define WIN32_NO_STATUS
> +#include "windef.h"
> +#include "winbase.h"
> +#include "winnt.h"
> +#include "winternl.h"
> +#include "winerror.h"
> +#include "winuser.h"
> +#include "excpt.h"
> +#include "wine/test.h"

Some of these includes; winbase.h, winerror.h, winuser.h and excpt.h
should go.

Huw.



More information about the wine-devel mailing list