Commit 9925991b authored by Ge van Geldorp's avatar Ge van Geldorp Committed by Alexandre Julliard

ntdll/tests: Fix atom tests on Win7.

parent 4d505906
......@@ -3,7 +3,7 @@ TOPOBJDIR = ../../..
SRCDIR = @srcdir@
VPATH = @srcdir@
TESTDLL = ntdll.dll
IMPORTS = kernel32
IMPORTS = user32 kernel32
CTESTS = \
atom.c \
......
......@@ -34,6 +34,7 @@
#include "winbase.h"
#include "winreg.h"
#include "winnls.h"
#include "winuser.h"
#include "wine/test.h"
#include "winternl.h"
......@@ -478,6 +479,10 @@ START_TEST(atom)
InitFunctionPtr();
if (pRtlCreateAtomTable)
{
/* Global atom table seems to be available to GUI apps only in
Win7, so let's turn this app into a GUI app */
GetDesktopWindow();
test_NtAtom();
test_NtIntAtom();
test_NtRefPinAtom();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment