ntdll/tests: Fix atom tests on Win7.

This commit is contained in:
Ge van Geldorp 2001-09-17 00:00:00 +02:00 committed by Alexandre Julliard
parent 4d5059060a
commit 9925991bf3
2 changed files with 6 additions and 1 deletions

View File

@ -3,7 +3,7 @@ TOPOBJDIR = ../../..
SRCDIR = @srcdir@
VPATH = @srcdir@
TESTDLL = ntdll.dll
IMPORTS = kernel32
IMPORTS = user32 kernel32
CTESTS = \
atom.c \

View File

@ -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();