Commit a007f336 authored by Alexandre Julliard's avatar Alexandre Julliard

Moved a few non-standard headers into their respective dlls.

parent 1c35975a
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
#include "debugger.h" #include "debugger.h"
#include "thread.h" #include "thread.h"
#include "process.h"
#include "file.h" #include "file.h"
#include "wincon.h" #include "wincon.h"
#include "wingdi.h" #include "wingdi.h"
......
...@@ -34,7 +34,6 @@ ...@@ -34,7 +34,6 @@
#include "ddraw.h" #include "ddraw.h"
#include "d3d.h" #include "d3d.h"
#include "debugtools.h" #include "debugtools.h"
#include "spy.h"
#include "message.h" #include "message.h"
#include "options.h" #include "options.h"
......
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
#include "ddraw.h" #include "ddraw.h"
#include "d3d.h" #include "d3d.h"
#include "debugtools.h" #include "debugtools.h"
#include "spy.h"
#include "message.h" #include "message.h"
#include "options.h" #include "options.h"
......
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
#include "ddraw.h" #include "ddraw.h"
#include "d3d.h" #include "d3d.h"
#include "debugtools.h" #include "debugtools.h"
#include "spy.h"
#include "message.h" #include "message.h"
#include "options.h" #include "options.h"
......
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
#include "wine/winbase16.h" #include "wine/winbase16.h"
#include "winerror.h" #include "winerror.h"
#include "local.h" #include "local.h"
#include "process.h"
#include "tlhelp32.h" #include "tlhelp32.h"
#include "toolhelp.h" #include "toolhelp.h"
#include "heap.h" #include "heap.h"
......
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
#include <signal.h> #include <signal.h>
#include "winnt.h" #include "winnt.h"
#include "ntddk.h" #include "ntddk.h"
#include "process.h"
#include "global.h" #include "global.h"
#include "wine/exception.h" #include "wine/exception.h"
#include "stackframe.h" #include "stackframe.h"
......
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
#include "winuser.h" #include "winuser.h"
#include "winerror.h" #include "winerror.h"
#include "ole2.h" #include "ole2.h"
#include "process.h"
#include "commctrl.h" #include "commctrl.h"
#include "wine/obj_clientserver.h" #include "wine/obj_clientserver.h"
#include "wine/winbase16.h" #include "wine/winbase16.h"
...@@ -215,8 +214,9 @@ HRESULT WINAPI OleInitialize(LPVOID reserved) ...@@ -215,8 +214,9 @@ HRESULT WINAPI OleInitialize(LPVOID reserved)
* NOTES * NOTES
* Is DWORD really the correct return type for this function? * Is DWORD really the correct return type for this function?
*/ */
DWORD WINAPI CoGetCurrentProcess(void) { DWORD WINAPI CoGetCurrentProcess(void)
return (DWORD)PROCESS_Current(); {
return GetCurrentProcessId();
} }
/****************************************************************************** /******************************************************************************
......
...@@ -234,8 +234,8 @@ static const char * const SHELL_People[] = ...@@ -234,8 +234,8 @@ static const char * const SHELL_People[] =
"Rick Richardson", "Rick Richardson",
"Douglas Ridgway", "Douglas Ridgway",
"Robert Riggs", "Robert Riggs",
"Bernhard Rosenkraenzer",
"Matthew Robertson", "Matthew Robertson",
"Bernhard Rosenkraenzer",
"Pavel Roskin", "Pavel Roskin",
"Herbert Rosmanith", "Herbert Rosmanith",
"Lilia Roumiantseva", "Lilia Roumiantseva",
......
...@@ -7,10 +7,8 @@ ...@@ -7,10 +7,8 @@
#include "win.h" #include "win.h"
#include "debugtools.h" #include "debugtools.h"
#include "winreg.h" #include "winreg.h"
#include "authors.h"
#include "winnls.h" #include "winnls.h"
#include "commctrl.h" #include "commctrl.h"
#include "spy.h"
#include "wine/obj_base.h" #include "wine/obj_base.h"
#include "wine/obj_enumidlist.h" #include "wine/obj_enumidlist.h"
......
...@@ -502,8 +502,6 @@ BOOL WINAPI ShellExecuteExAW (LPVOID sei) ...@@ -502,8 +502,6 @@ BOOL WINAPI ShellExecuteExAW (LPVOID sei)
* %S ??? * %S ???
* %* all following parameters (see batfile) * %* all following parameters (see batfile)
*/ */
#include "process.h" /* we can get rid of it hopefully */
#include "task.h"
BOOL WINAPI ShellExecuteExA (LPSHELLEXECUTEINFOA sei) BOOL WINAPI ShellExecuteExA (LPSHELLEXECUTEINFOA sei)
{ CHAR szApplicationName[MAX_PATH],szCommandline[MAX_PATH],szPidl[20]; { CHAR szApplicationName[MAX_PATH],szCommandline[MAX_PATH],szPidl[20];
LPSTR pos; LPSTR pos;
......
...@@ -38,7 +38,6 @@ ...@@ -38,7 +38,6 @@
#include "wine/obj_dragdrop.h" #include "wine/obj_dragdrop.h"
#include "wine/undocshell.h" #include "wine/undocshell.h"
#include "shresdef.h" #include "shresdef.h"
#include "spy.h"
#include "debugtools.h" #include "debugtools.h"
#include "winerror.h" #include "winerror.h"
#include "wine/winestring.h" #include "wine/winestring.h"
...@@ -47,7 +46,7 @@ ...@@ -47,7 +46,7 @@
#include "pidl.h" #include "pidl.h"
#include "shell32_main.h" #include "shell32_main.h"
DEFAULT_DEBUG_CHANNEL(shell) DEFAULT_DEBUG_CHANNEL(shell);
typedef struct typedef struct
{ BOOL bIsAscending; { BOOL bIsAscending;
...@@ -1283,7 +1282,7 @@ static LRESULT ShellView_OnNotify(IShellViewImpl * This, UINT CtlID, LPNMHDR lpn ...@@ -1283,7 +1282,7 @@ static LRESULT ShellView_OnNotify(IShellViewImpl * This, UINT CtlID, LPNMHDR lpn
} }
break; break;
default: default:
TRACE("-- %p WM_COMMAND %s unhandled\n", This, SPY_GetMsgName(lpnmh->code)); TRACE("-- %p WM_COMMAND %x unhandled\n", This, lpnmh->code);
break;; break;;
} }
return 0; return 0;
......
...@@ -6,11 +6,17 @@ ...@@ -6,11 +6,17 @@
*/ */
#include "windef.h" #include "windef.h"
#include "w32sys.h"
#include "debugtools.h" #include "debugtools.h"
DEFAULT_DEBUG_CHANNEL(dll) DEFAULT_DEBUG_CHANNEL(dll);
typedef struct
{
BYTE bMajor;
BYTE bMinor;
WORD wBuildNumber;
BOOL16 fDebug;
} WIN32SINFO, *LPWIN32SINFO;
/*********************************************************************** /***********************************************************************
* GetWin32sInfo (W32SYS.12) * GetWin32sInfo (W32SYS.12)
......
...@@ -37,7 +37,6 @@ ...@@ -37,7 +37,6 @@
#include "wine/winbase16.h" #include "wine/winbase16.h"
#include "wine/winestring.h" #include "wine/winestring.h"
#include "drive.h" #include "drive.h"
#include "device.h"
#include "file.h" #include "file.h"
#include "global.h" #include "global.h"
#include "heap.h" #include "heap.h"
......
#ifndef __WINE_DEVICE_H
#define __WINE_DEVICE_H
#include "winbase.h"
extern HANDLE DEVICE_Open( LPCSTR filename, DWORD access,
LPSECURITY_ATTRIBUTES sa );
#endif
...@@ -73,4 +73,7 @@ extern int DOSFS_FindNext( const char *path, const char *short_mask, ...@@ -73,4 +73,7 @@ extern int DOSFS_FindNext( const char *path, const char *short_mask,
const char *long_mask, int drive, BYTE attr, const char *long_mask, int drive, BYTE attr,
int skip, WIN32_FIND_DATAA *entry ); int skip, WIN32_FIND_DATAA *entry );
/* win32/device.c */
extern HANDLE DEVICE_Open( LPCSTR filename, DWORD access, LPSECURITY_ATTRIBUTES sa );
#endif /* __WINE_FILE_H */ #endif /* __WINE_FILE_H */
/*
* W32SYS
*
* Copyright (c) 1996 Anand Kumria
*/
#ifndef __WINE_W32SYS_H
#define __WINE_W32SYS_H
#include "windef.h"
typedef struct _WIN32SINFO {
BYTE bMajor;
BYTE bMinor;
WORD wBuildNumber;
BOOL16 fDebug;
} WIN32SINFO, *LPWIN32SINFO;
#endif /* __WINE_W32SYS_H */
#! /usr/bin/perl #! /usr/bin/perl
# #
# Generate AUTHORS and include/authors.h # Generate AUTHORS and dlls/shell32/authors.h
# #
open(AUTHORS,"<AUTHORS") or die "Can't open AUTHORS"; open(AUTHORS,"<AUTHORS") or die "Can't open AUTHORS";
open(NEWAUTHORS,">AUTHORS.new"); open(NEWAUTHORS,">AUTHORS.new");
...@@ -37,7 +37,7 @@ print NEWAUTHORS "and $authors[$#authors].\n"; ...@@ -37,7 +37,7 @@ print NEWAUTHORS "and $authors[$#authors].\n";
print "Created AUTHORS.new\n"; print "Created AUTHORS.new\n";
# Build authors.h file # Build authors.h file
open(NEWAUTHORS_H,">include/authors.h"); open(NEWAUTHORS_H,">dlls/shell32/authors.h");
print NEWAUTHORS_H <<EOF; print NEWAUTHORS_H <<EOF;
#ifndef __WINE_AUTHORS_H #ifndef __WINE_AUTHORS_H
...@@ -55,4 +55,4 @@ for ($i = 0; $i <= $#authors; $i++) ...@@ -55,4 +55,4 @@ for ($i = 0; $i <= $#authors; $i++)
print NEWAUTHORS_H " 0\n};\n"; print NEWAUTHORS_H " 0\n};\n";
print NEWAUTHORS_H "\n#endif /* __WINE_AUTHORS_H */\n"; print NEWAUTHORS_H "\n#endif /* __WINE_AUTHORS_H */\n";
print "Created include/authors.h\n"; print "Created dlls/shell32/authors.h\n";
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
#include "winbase.h" #include "winbase.h"
#include "winerror.h" #include "winerror.h"
#include "file.h" #include "file.h"
#include "device.h"
#include "process.h" #include "process.h"
#include "heap.h" #include "heap.h"
#include "debugtools.h" #include "debugtools.h"
......
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