Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
a625761e
Commit
a625761e
authored
Aug 14, 2004
by
Francois Gouget
Committed by
Alexandre Julliard
Aug 14, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid annoying 'macro redefinition' warnings by defining
WIN32_NO_STATUS at the right time. Define _WIN32_WINNT otherwise we are missing some symbols with the Windows headers.
parent
870f55fe
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
49 additions
and
62 deletions
+49
-62
env.c
dlls/ntdll/tests/env.c
+2
-8
generated.c
dlls/ntdll/tests/generated.c
+1
-2
large_int.c
dlls/ntdll/tests/large_int.c
+2
-8
ntdll_test.h
dlls/ntdll/tests/ntdll_test.h
+35
-0
path.c
dlls/ntdll/tests/path.c
+1
-9
rtl.c
dlls/ntdll/tests/rtl.c
+1
-8
rtlbitmap.c
dlls/ntdll/tests/rtlbitmap.c
+2
-9
rtlstr.c
dlls/ntdll/tests/rtlstr.c
+2
-8
string.c
dlls/ntdll/tests/string.c
+2
-8
tests.dat
tools/winapi/tests.dat
+1
-2
No files found.
dlls/ntdll/tests/env.c
View file @
a625761e
...
...
@@ -18,15 +18,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <stdarg.h>
#include <stdio.h>
#include "wine/test.h"
#include "ntstatus.h"
#include "windef.h"
#include "winbase.h"
#include "winnt.h"
#include "winreg.h"
#include "winternl.h"
#include "ntdll_test.h"
#include "wine/unicode.h"
static
NTSTATUS
(
WINAPI
*
pRtlMultiByteToUnicodeN
)(
LPWSTR
dst
,
DWORD
dstlen
,
LPDWORD
reslen
,
...
...
dlls/ntdll/tests/generated.c
View file @
a625761e
...
...
@@ -11,8 +11,7 @@
#define WINE_NOWINSOCK
#include "ntstatus.h"
#include "windows.h"
#include "ntdll_test.h"
#include "wine/test.h"
...
...
dlls/ntdll/tests/large_int.c
View file @
a625761e
...
...
@@ -21,17 +21,11 @@
* windows.
*/
#include <stdarg.h>
#include <stdlib.h>
#include "ntstatus.h"
#include "windef.h"
#include "winbase.h"
#include "wine/test.h"
#include "winnt.h"
#include "ntdll_test.h"
#include "winnls.h"
#include "winreg.h"
#include "winternl.h"
/* Function ptrs for ntdll calls */
static
HMODULE
hntdll
=
0
;
...
...
dlls/ntdll/tests/ntdll_test.h
0 → 100644
View file @
a625761e
/*
* Unit test suite for ntdll path functions
*
* Copyright 2003 Eric Pouech
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <stdarg.h>
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x500
/* For NTSTATUS */
#endif
#include "ntstatus.h"
#define WIN32_NO_STATUS
#include "windef.h"
#include "winbase.h"
#include "winnt.h"
#include "winreg.h"
#include "winternl.h"
#include "wine/test.h"
dlls/ntdll/tests/path.c
View file @
a625761e
...
...
@@ -18,15 +18,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <stdarg.h>
#include "wine/test.h"
#include "ntstatus.h"
#include "windef.h"
#include "winbase.h"
#include "winnt.h"
#include "winreg.h"
#include "winternl.h"
#include "ntdll_test.h"
static
NTSTATUS
(
WINAPI
*
pRtlMultiByteToUnicodeN
)(
LPWSTR
dst
,
DWORD
dstlen
,
LPDWORD
reslen
,
LPCSTR
src
,
DWORD
srclen
);
...
...
dlls/ntdll/tests/rtl.c
View file @
a625761e
...
...
@@ -21,17 +21,10 @@
* windows.
*/
#include <stdarg.h>
#include <stdlib.h>
#include "ntstatus.h"
#include "windef.h"
#include "winbase.h"
#include "wine/test.h"
#include "winnt.h"
#include "ntdll_test.h"
#include "winnls.h"
#include "winreg.h"
#include "winternl.h"
/* Function ptrs for ntdll calls */
static
HMODULE
hntdll
=
0
;
...
...
dlls/ntdll/tests/rtlbitmap.c
View file @
a625761e
...
...
@@ -20,15 +20,8 @@
* We use function pointers here as some of the bitmap functions exist only
* in later versions of ntdll.
*/
#include <stdarg.h>
#include "wine/test.h"
#include "ntstatus.h"
#include "windef.h"
#include "winbase.h"
#include "winnt.h"
#include "winreg.h"
#include "winternl.h"
#include "ntdll_test.h"
/* Function ptrs for ordinal calls */
static
HMODULE
hntdll
=
0
;
...
...
dlls/ntdll/tests/rtlstr.c
View file @
a625761e
...
...
@@ -22,18 +22,12 @@
* windows.
*/
#include <stdarg.h>
#include <stdlib.h>
#define INITGUID
#include "ntstatus.h"
#include "windef.h"
#include "winbase.h"
#include "wine/test.h"
#include "winnt.h"
#include "ntdll_test.h"
#include "winnls.h"
#include "winreg.h"
#include "winternl.h"
#include "guiddef.h"
/* Function ptrs for ntdll calls */
...
...
dlls/ntdll/tests/string.c
View file @
a625761e
...
...
@@ -21,17 +21,11 @@
* windows.
*/
#include <stdarg.h>
#include <stdlib.h>
#include "ntstatus.h"
#include "windef.h"
#include "winbase.h"
#include "wine/test.h"
#include "winnt.h"
#include "ntdll_test.h"
#include "winnls.h"
#include "winreg.h"
#include "winternl.h"
/* Function ptrs for ntdll calls */
static
HMODULE
hntdll
=
0
;
...
...
tools/winapi/tests.dat
View file @
a625761e
...
...
@@ -628,8 +628,7 @@ windef.h
%include
"ntstatus.h"
"windows.h"
"ntdll_test.h"
%type
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment