Removed some unnecessary #includes and dll dependencies.

This commit is contained in:
Alexandre Julliard 2000-08-09 22:35:05 +00:00
parent 52900c818f
commit 5ab9d860f2
40 changed files with 60 additions and 117 deletions

View file

@ -12,7 +12,6 @@
#include "winuser.h" #include "winuser.h"
#include "wine/winuser16.h" #include "wine/winuser16.h"
#include "win.h" #include "win.h"
#include "desktop.h"
#include "heap.h" #include "heap.h"
BOOL bMultiLineTitle; BOOL bMultiLineTitle;

View file

@ -15,7 +15,6 @@
#include "heap.h" #include "heap.h"
#include "mdi.h" #include "mdi.h"
#include "menu.h" #include "menu.h"
#include "module.h"
#include "scroll.h" #include "scroll.h"
#include "static.h" #include "static.h"

View file

@ -17,7 +17,6 @@
#include "commctrl.h" #include "commctrl.h"
#include "debugtools.h" #include "debugtools.h"
#include "cache.h" #include "cache.h"
#include "win.h"
DEFAULT_DEBUG_CHANNEL(tab); DEFAULT_DEBUG_CHANNEL(tab);
@ -1257,15 +1256,12 @@ TAB_DrawItemInterior
if ( (lStyle & TCS_OWNERDRAWFIXED) && GetParent(hwnd) ) if ( (lStyle & TCS_OWNERDRAWFIXED) && GetParent(hwnd) )
{ {
DRAWITEMSTRUCT dis; DRAWITEMSTRUCT dis;
WND *pwndPtr;
UINT id; UINT id;
/* /*
* get the control id * get the control id
*/ */
pwndPtr = WIN_FindWndPtr( hwnd ); id = GetWindowLongA( hwnd, GWL_ID );
id = pwndPtr->wIDmenu;
WIN_ReleaseWndPtr(pwndPtr);
/* /*
* put together the DRAWITEMSTRUCT * put together the DRAWITEMSTRUCT

View file

@ -50,7 +50,6 @@ UB 000416:
#include "winerror.h" #include "winerror.h"
#include "ntddk.h" #include "ntddk.h"
#include "debugtools.h" #include "debugtools.h"
#include "module.h"
#include "heap.h" #include "heap.h"
#include "crtdll.h" #include "crtdll.h"
#include "drive.h" #include "drive.h"

View file

@ -33,7 +33,6 @@
#include "ddraw.h" #include "ddraw.h"
#include "d3d.h" #include "d3d.h"
#include "debugtools.h" #include "debugtools.h"
#include "message.h"
#include "options.h" #include "options.h"
#define RESTORE_SIGNALS #define RESTORE_SIGNALS

View file

@ -22,7 +22,6 @@
#include "ddraw.h" #include "ddraw.h"
#include "d3d.h" #include "d3d.h"
#include "debugtools.h" #include "debugtools.h"
#include "message.h"
#include "options.h" #include "options.h"
DEFAULT_DEBUG_CHANNEL(ddraw); DEFAULT_DEBUG_CHANNEL(ddraw);

View file

@ -21,7 +21,6 @@
#include "d3d.h" #include "d3d.h"
#include "win.h" #include "win.h"
#include "debugtools.h" #include "debugtools.h"
#include "message.h"
#include "options.h" #include "options.h"
DEFAULT_DEBUG_CHANNEL(ddraw); DEFAULT_DEBUG_CHANNEL(ddraw);

View file

@ -26,15 +26,11 @@
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>
#include "gdi.h"
#include "heap.h" #include "heap.h"
#include "dc.h"
#include "win.h"
#include "wine/exception.h" #include "wine/exception.h"
#include "ddraw.h" #include "ddraw.h"
#include "d3d.h" #include "d3d.h"
#include "debugtools.h" #include "debugtools.h"
#include "message.h"
#include "options.h" #include "options.h"
#include "dga_private.h" #include "dga_private.h"

View file

@ -17,13 +17,10 @@
#include "gdi.h" #include "gdi.h"
#include "heap.h" #include "heap.h"
#include "dc.h"
#include "win.h"
#include "wine/exception.h" #include "wine/exception.h"
#include "ddraw.h" #include "ddraw.h"
#include "d3d.h" #include "d3d.h"
#include "debugtools.h" #include "debugtools.h"
#include "message.h"
#include "options.h" #include "options.h"
#include "dga2_private.h" #include "dga2_private.h"

View file

@ -9,7 +9,6 @@
#include "winerror.h" #include "winerror.h"
#include "ddraw.h" #include "ddraw.h"
#include "d3d.h" #include "d3d.h"
#include "message.h"
#include "options.h" #include "options.h"
#include "debugtools.h" #include "debugtools.h"

View file

@ -9,7 +9,6 @@
#include "winerror.h" #include "winerror.h"
#include "ddraw.h" #include "ddraw.h"
#include "d3d.h" #include "d3d.h"
#include "message.h"
#include "options.h" #include "options.h"
#include "debugtools.h" #include "debugtools.h"

View file

@ -15,15 +15,11 @@
#include <stdio.h> #include <stdio.h>
#include "winerror.h" #include "winerror.h"
#include "gdi.h"
#include "heap.h" #include "heap.h"
#include "dc.h"
#include "win.h"
#include "wine/exception.h" #include "wine/exception.h"
#include "ddraw.h" #include "ddraw.h"
#include "d3d.h" #include "d3d.h"
#include "debugtools.h" #include "debugtools.h"
#include "message.h"
#include "options.h" #include "options.h"
DEFAULT_DEBUG_CHANNEL(ddraw); DEFAULT_DEBUG_CHANNEL(ddraw);

View file

@ -15,11 +15,8 @@
#include "winerror.h" #include "winerror.h"
#include "heap.h" #include "heap.h"
#include "dc.h"
#include "win.h"
#include "wine/exception.h" #include "wine/exception.h"
#include "debugtools.h" #include "debugtools.h"
#include "message.h"
#include "initguid.h" #include "initguid.h"
#include "ddraw.h" #include "ddraw.h"
@ -232,12 +229,12 @@ static LRESULT WINAPI DDWndProc(HWND hwnd,UINT msg,WPARAM wParam,LPARAM lParam)
ret = DefWindowProcA( ddraw->d->mainWindow, msg, wParam, lParam ); ret = DefWindowProcA( ddraw->d->mainWindow, msg, wParam, lParam );
if( !ret ) { if( !ret ) {
WND *tmpWnd =WIN_FindWndPtr(ddraw->d->mainWindow);
/* We didn't handle the message - give it to the application */ /* We didn't handle the message - give it to the application */
if (ddraw && ddraw->d->mainWindow && tmpWnd) if (ddraw && ddraw->d->mainWindow)
ret = CallWindowProcA(tmpWnd->winproc, {
ddraw->d->mainWindow, msg, wParam, lParam ); WNDPROC winproc = (WNDPROC)GetWindowLongA( ddraw->d->mainWindow, GWL_WNDPROC );
WIN_ReleaseWndPtr(tmpWnd); ret = CallWindowProcA(winproc, ddraw->d->mainWindow, msg, wParam, lParam );
}
} }
return ret; return ret;
} /* else FALLTHROUGH */ } /* else FALLTHROUGH */

View file

@ -42,7 +42,6 @@
#include "debugtools.h" #include "debugtools.h"
#include "input.h" #include "input.h"
#include "user.h" #include "user.h"
#include "message.h"
#include "mouse.h" #include "mouse.h"
#include "winbase.h" #include "winbase.h"
#include "winerror.h" #include "winerror.h"
@ -381,7 +380,7 @@ static void fill_DataFormat(void *out, void *in, DataFormat *df) {
} }
} }
static DataFormat *create_DataFormat(DIDATAFORMAT *wine_format, DIDATAFORMAT *asked_format, int *offset) { static DataFormat *create_DataFormat(DIDATAFORMAT *wine_format, LPCDIDATAFORMAT asked_format, int *offset) {
DataFormat *ret; DataFormat *ret;
DataTransform *dt; DataTransform *dt;
int i, j; int i, j;

View file

@ -19,7 +19,6 @@
#include "wine/winbase16.h" #include "wine/winbase16.h"
#include "winerror.h" #include "winerror.h"
#include "wownt32.h" #include "wownt32.h"
#include "ole.h"
#include "ole2ver.h" #include "ole2ver.h"
#include "debugtools.h" #include "debugtools.h"
#include "file.h" #include "file.h"
@ -519,7 +518,7 @@ HRESULT WINAPI CLSIDFromString(
CLSID *id /* [out] GUID represented by above string */ CLSID *id /* [out] GUID represented by above string */
) { ) {
LPOLESTR16 xid = HEAP_strdupWtoA(GetProcessHeap(),0,idstr); LPOLESTR16 xid = HEAP_strdupWtoA(GetProcessHeap(),0,idstr);
OLESTATUS ret = CLSIDFromString16(xid,id); HRESULT ret = CLSIDFromString16(xid,id);
HeapFree(GetProcessHeap(),0,xid); HeapFree(GetProcessHeap(),0,xid);
if(ret != S_OK) { /* It appears a ProgID is also valid */ if(ret != S_OK) { /* It appears a ProgID is also valid */
@ -535,7 +534,7 @@ HRESULT WINAPI CLSIDFromString(
* NOTES * NOTES
* *
* RETURNS * RETURNS
* the string representation and OLESTATUS * the string representation and HRESULT
*/ */
static HRESULT WINE_StringFromCLSID( static HRESULT WINE_StringFromCLSID(
const CLSID *id, /* [in] GUID to be converted */ const CLSID *id, /* [in] GUID to be converted */
@ -567,7 +566,7 @@ static HRESULT WINE_StringFromCLSID(
TRACE("%p->%s\n", id, idstr); TRACE("%p->%s\n", id, idstr);
return OLE_OK; return S_OK;
} }
/****************************************************************************** /******************************************************************************
@ -575,7 +574,7 @@ static HRESULT WINE_StringFromCLSID(
* Converts a GUID into the respective string representation. * Converts a GUID into the respective string representation.
* The target string is allocated using the OLE IMalloc. * The target string is allocated using the OLE IMalloc.
* RETURNS * RETURNS
* the string representation and OLESTATUS * the string representation and HRESULT
*/ */
HRESULT WINAPI StringFromCLSID16( HRESULT WINAPI StringFromCLSID16(
REFCLSID id, /* [in] the GUID to be converted */ REFCLSID id, /* [in] the GUID to be converted */
@ -583,7 +582,7 @@ HRESULT WINAPI StringFromCLSID16(
) { ) {
LPMALLOC16 mllc; LPMALLOC16 mllc;
OLESTATUS ret; HRESULT ret;
DWORD args[2]; DWORD args[2];
ret = CoGetMalloc16(0,&mllc); ret = CoGetMalloc16(0,&mllc);
@ -615,14 +614,14 @@ HRESULT WINAPI StringFromCLSID16(
* Converts a GUID into the respective string representation. * Converts a GUID into the respective string representation.
* The target string is allocated using the OLE IMalloc. * The target string is allocated using the OLE IMalloc.
* RETURNS * RETURNS
* the string representation and OLESTATUS * the string representation and HRESULT
*/ */
HRESULT WINAPI StringFromCLSID( HRESULT WINAPI StringFromCLSID(
REFCLSID id, /* [in] the GUID to be converted */ REFCLSID id, /* [in] the GUID to be converted */
LPOLESTR *idstr /* [out] a pointer to a to-be-allocated pointer pointing to the resulting string */ LPOLESTR *idstr /* [out] a pointer to a to-be-allocated pointer pointing to the resulting string */
) { ) {
char buf[80]; char buf[80];
OLESTATUS ret; HRESULT ret;
LPMALLOC mllc; LPMALLOC mllc;
if ((ret=CoGetMalloc(0,&mllc))) if ((ret=CoGetMalloc(0,&mllc)))
@ -752,7 +751,7 @@ HRESULT WINAPI CLSIDFromProgID(
LPCLSID riid /* [out] associated CLSID */ LPCLSID riid /* [out] associated CLSID */
) { ) {
LPOLESTR16 pid = HEAP_strdupWtoA(GetProcessHeap(),0,progid); LPOLESTR16 pid = HEAP_strdupWtoA(GetProcessHeap(),0,progid);
OLESTATUS ret = CLSIDFromProgID16(pid,riid); HRESULT ret = CLSIDFromProgID16(pid,riid);
HeapFree(GetProcessHeap(),0,pid); HeapFree(GetProcessHeap(),0,pid);
return ret; return ret;
@ -803,7 +802,7 @@ HRESULT WINAPI ReadClassStm(IStream *pStm,REFCLSID rclsid)
/*********************************************************************** /***********************************************************************
* LookupETask (COMPOBJ.94) * LookupETask (COMPOBJ.94)
*/ */
OLESTATUS WINAPI LookupETask16(HTASK16 *hTask,LPVOID p) { HRESULT WINAPI LookupETask16(HTASK16 *hTask,LPVOID p) {
FIXME("(%p,%p),stub!\n",hTask,p); FIXME("(%p,%p),stub!\n",hTask,p);
if ((*hTask = GetCurrentTask()) == hETask) { if ((*hTask = GetCurrentTask()) == hETask) {
memcpy(p, Table_ETask, sizeof(Table_ETask)); memcpy(p, Table_ETask, sizeof(Table_ETask));
@ -815,7 +814,7 @@ OLESTATUS WINAPI LookupETask16(HTASK16 *hTask,LPVOID p) {
/*********************************************************************** /***********************************************************************
* SetETask (COMPOBJ.95) * SetETask (COMPOBJ.95)
*/ */
OLESTATUS WINAPI SetETask16(HTASK16 hTask, LPVOID p) { HRESULT WINAPI SetETask16(HTASK16 hTask, LPVOID p) {
FIXME("(%04x,%p),stub!\n",hTask,p); FIXME("(%04x,%p),stub!\n",hTask,p);
hETask = hTask; hETask = hTask;
return 0; return 0;
@ -825,7 +824,7 @@ OLESTATUS WINAPI SetETask16(HTASK16 hTask, LPVOID p) {
/*********************************************************************** /***********************************************************************
* CallObjectInWOW (COMPOBJ.201) * CallObjectInWOW (COMPOBJ.201)
*/ */
OLESTATUS WINAPI CallObjectInWOW(LPVOID p1,LPVOID p2) { HRESULT WINAPI CallObjectInWOW(LPVOID p1,LPVOID p2) {
FIXME("(%p,%p),stub!\n",p1,p2); FIXME("(%p,%p),stub!\n",p1,p2);
return 0; return 0;
} }

View file

@ -19,7 +19,6 @@
#include "wingdi.h" #include "wingdi.h"
#include "wtypes.h" #include "wtypes.h"
#include "file.h" #include "file.h"
#include "ole.h"
#include "wine/obj_base.h" #include "wine/obj_base.h"
#include "wine/obj_storage.h" #include "wine/obj_storage.h"
#include "heap.h" #include "heap.h"
@ -1648,7 +1647,7 @@ HRESULT WINAPI
StgIsStorageFile(LPCOLESTR fn) StgIsStorageFile(LPCOLESTR fn)
{ {
LPOLESTR16 xfn = HEAP_strdupWtoA(GetProcessHeap(),0,fn); LPOLESTR16 xfn = HEAP_strdupWtoA(GetProcessHeap(),0,fn);
OLESTATUS ret = StgIsStorageFile16(xfn); HRESULT ret = StgIsStorageFile16(xfn);
HeapFree(GetProcessHeap(),0,xfn); HeapFree(GetProcessHeap(),0,xfn);
return ret; return ret;

View file

@ -19,15 +19,12 @@
#include "winbase.h" #include "winbase.h"
#include "winreg.h" #include "winreg.h"
#include "dialog.h" #include "wingdi.h"
#include "win.h" #include "winuser.h"
#include "debugtools.h" #include "debugtools.h"
#include "serialui.h" #include "serialui.h"
#include "winerror.h" #include "winerror.h"
#include "queue.h"
#include "message.h"
DEFAULT_DEBUG_CHANNEL(comm); DEFAULT_DEBUG_CHANNEL(comm);
HMODULE SERIALUI_hModule = 0; HMODULE SERIALUI_hModule = 0;

View file

@ -4,7 +4,6 @@
#include "winerror.h" #include "winerror.h"
#include "heap.h" #include "heap.h"
#include "dlgs.h" #include "dlgs.h"
#include "win.h"
#include "debugtools.h" #include "debugtools.h"
#include "winreg.h" #include "winreg.h"
#include "winnls.h" #include "winnls.h"

View file

@ -18,10 +18,9 @@
#include "winerror.h" #include "winerror.h"
#include "heap.h" #include "heap.h"
#include "debugtools.h" #include "debugtools.h"
#include "tchar.h"
#include "winnt.h" #include "winnt.h"
DEFAULT_DEBUG_CHANNEL(ddeml) DEFAULT_DEBUG_CHANNEL(ddeml);
/* Has defined in atom.c file. /* Has defined in atom.c file.
*/ */

View file

@ -14,7 +14,6 @@
#include "debugtools.h" #include "debugtools.h"
#include "winerror.h" #include "winerror.h"
#include "heap.h" #include "heap.h"
#include "tchar.h"
#include "winsock.h" #include "winsock.h"
#include <sys/types.h> #include <sys/types.h>
@ -970,35 +969,35 @@ INT HTTP_GetStdHeaderIndex(LPCSTR lpszField)
{ {
INT index = -1; INT index = -1;
if (!_stricmp(lpszField, "Content-Length")) if (!strcasecmp(lpszField, "Content-Length"))
index = HTTP_QUERY_CONTENT_LENGTH; index = HTTP_QUERY_CONTENT_LENGTH;
else if (!_stricmp(lpszField,"Status")) else if (!strcasecmp(lpszField,"Status"))
index = HTTP_QUERY_STATUS_CODE; index = HTTP_QUERY_STATUS_CODE;
else if (!_stricmp(lpszField,"Content-Type")) else if (!strcasecmp(lpszField,"Content-Type"))
index = HTTP_QUERY_CONTENT_TYPE; index = HTTP_QUERY_CONTENT_TYPE;
else if (!_stricmp(lpszField,"Last-Modified")) else if (!strcasecmp(lpszField,"Last-Modified"))
index = HTTP_QUERY_LAST_MODIFIED; index = HTTP_QUERY_LAST_MODIFIED;
else if (!_stricmp(lpszField,"Location")) else if (!strcasecmp(lpszField,"Location"))
index = HTTP_QUERY_LOCATION; index = HTTP_QUERY_LOCATION;
else if (!_stricmp(lpszField,"Accept")) else if (!strcasecmp(lpszField,"Accept"))
index = HTTP_QUERY_ACCEPT; index = HTTP_QUERY_ACCEPT;
else if (!_stricmp(lpszField,"Referer")) else if (!strcasecmp(lpszField,"Referer"))
index = HTTP_QUERY_REFERER; index = HTTP_QUERY_REFERER;
else if (!_stricmp(lpszField,"Content-Transfer-Encoding")) else if (!strcasecmp(lpszField,"Content-Transfer-Encoding"))
index = HTTP_QUERY_CONTENT_TRANSFER_ENCODING; index = HTTP_QUERY_CONTENT_TRANSFER_ENCODING;
else if (!_stricmp(lpszField,"Date")) else if (!strcasecmp(lpszField,"Date"))
index = HTTP_QUERY_DATE; index = HTTP_QUERY_DATE;
else if (!_stricmp(lpszField,"Server")) else if (!strcasecmp(lpszField,"Server"))
index = HTTP_QUERY_SERVER; index = HTTP_QUERY_SERVER;
else if (!_stricmp(lpszField,"Connection")) else if (!strcasecmp(lpszField,"Connection"))
index = HTTP_QUERY_CONNECTION; index = HTTP_QUERY_CONNECTION;
else if (!_stricmp(lpszField,"ETag")) else if (!strcasecmp(lpszField,"ETag"))
index = HTTP_QUERY_ETAG; index = HTTP_QUERY_ETAG;
else if (!_stricmp(lpszField,"Accept-Ranges")) else if (!strcasecmp(lpszField,"Accept-Ranges"))
index = HTTP_QUERY_ACCEPT_RANGES; index = HTTP_QUERY_ACCEPT_RANGES;
else if (!_stricmp(lpszField,"Expires")) else if (!strcasecmp(lpszField,"Expires"))
index = HTTP_QUERY_EXPIRES; index = HTTP_QUERY_EXPIRES;
else if (!_stricmp(lpszField,"Mime-Version")) else if (!strcasecmp(lpszField,"Mime-Version"))
index = HTTP_QUERY_MIME_VERSION; index = HTTP_QUERY_MIME_VERSION;
else else
{ {
@ -1260,7 +1259,7 @@ INT HTTP_GetCustomHeaderIndex(LPWININETHTTPREQA lpwhr, LPCSTR lpszField)
for (index = 0; index < lpwhr->nCustHeaders; index++) for (index = 0; index < lpwhr->nCustHeaders; index++)
{ {
if (!_stricmp(lpwhr->pCustHeaders[index].lpszField, lpszField)) if (!strcasecmp(lpwhr->pCustHeaders[index].lpszField, lpszField))
break; break;
} }

View file

@ -22,7 +22,6 @@
#include "debugtools.h" #include "debugtools.h"
#include "winerror.h" #include "winerror.h"
#include "winsock.h" #include "winsock.h"
#include "tchar.h"
#include "heap.h" #include "heap.h"
#include "internet.h" #include "internet.h"
@ -919,19 +918,19 @@ INTERNET_SCHEME GetInternetScheme(LPCSTR lpszScheme, INT nMaxCmp)
if(lpszScheme==NULL) if(lpszScheme==NULL)
return INTERNET_SCHEME_UNKNOWN; return INTERNET_SCHEME_UNKNOWN;
if (!_strnicmp("ftp", lpszScheme, nMaxCmp)) if (!strncasecmp("ftp", lpszScheme, nMaxCmp))
return INTERNET_SCHEME_FTP; return INTERNET_SCHEME_FTP;
else if (!_strnicmp("gopher", lpszScheme, nMaxCmp)) else if (!strncasecmp("gopher", lpszScheme, nMaxCmp))
return INTERNET_SCHEME_GOPHER; return INTERNET_SCHEME_GOPHER;
else if (!_strnicmp("http", lpszScheme, nMaxCmp)) else if (!strncasecmp("http", lpszScheme, nMaxCmp))
return INTERNET_SCHEME_HTTP; return INTERNET_SCHEME_HTTP;
else if (!_strnicmp("https", lpszScheme, nMaxCmp)) else if (!strncasecmp("https", lpszScheme, nMaxCmp))
return INTERNET_SCHEME_HTTPS; return INTERNET_SCHEME_HTTPS;
else if (!_strnicmp("file", lpszScheme, nMaxCmp)) else if (!strncasecmp("file", lpszScheme, nMaxCmp))
return INTERNET_SCHEME_FILE; return INTERNET_SCHEME_FILE;
else if (!_strnicmp("news", lpszScheme, nMaxCmp)) else if (!strncasecmp("news", lpszScheme, nMaxCmp))
return INTERNET_SCHEME_NEWS; return INTERNET_SCHEME_NEWS;
else if (!_strnicmp("mailto", lpszScheme, nMaxCmp)) else if (!strncasecmp("mailto", lpszScheme, nMaxCmp))
return INTERNET_SCHEME_MAILTO; return INTERNET_SCHEME_MAILTO;
else else
return INTERNET_SCHEME_UNKNOWN; return INTERNET_SCHEME_UNKNOWN;

View file

@ -84,12 +84,11 @@
#include "winnt.h" #include "winnt.h"
#include "heap.h" #include "heap.h"
#include "task.h" #include "task.h"
#include "message.h" #include "ldt.h"
#include "miscemu.h"
#include "wine/port.h" #include "wine/port.h"
#include "debugtools.h" #include "debugtools.h"
DEFAULT_DEBUG_CHANNEL(winsock) DEFAULT_DEBUG_CHANNEL(winsock);
/* protoptypes of some functions in socket.c /* protoptypes of some functions in socket.c
*/ */

View file

@ -83,15 +83,13 @@
#include "winnt.h" #include "winnt.h"
#include "heap.h" #include "heap.h"
#include "task.h" #include "task.h"
#include "message.h"
#include "miscemu.h"
#include "wine/port.h" #include "wine/port.h"
#include "services.h" #include "services.h"
#include "server.h" #include "server.h"
#include "debugtools.h" #include "debugtools.h"
DEFAULT_DEBUG_CHANNEL(winsock) DEFAULT_DEBUG_CHANNEL(winsock);
#define DEBUG_SOCKADDR 0 #define DEBUG_SOCKADDR 0
#define dump_sockaddr(a) \ #define dump_sockaddr(a) \

View file

@ -16,8 +16,6 @@
#include <time.h> #include <time.h>
#include "winbase.h" #include "winbase.h"
#include "winerror.h" #include "winerror.h"
#include "process.h"
#include "thread.h"
#include "heap.h" #include "heap.h"
#include "server.h" #include "server.h"
#include "debugtools.h" #include "debugtools.h"

View file

@ -32,12 +32,11 @@
#include "msdos.h" #include "msdos.h"
#include "syslevel.h" #include "syslevel.h"
#include "server.h" #include "server.h"
#include "process.h"
#include "options.h" #include "options.h"
#include "debugtools.h" #include "debugtools.h"
DEFAULT_DEBUG_CHANNEL(dosfs) DEFAULT_DEBUG_CHANNEL(dosfs);
DECLARE_DEBUG_CHANNEL(file) DECLARE_DEBUG_CHANNEL(file);
/* Define the VFAT ioctl to get both short and long file names */ /* Define the VFAT ioctl to get both short and long file names */
/* FIXME: is it possible to get this to work on other systems? */ /* FIXME: is it possible to get this to work on other systems? */

View file

@ -10,7 +10,6 @@
#include "dc.h" #include "dc.h"
#include "bitmap.h" #include "bitmap.h"
#include "heap.h" #include "heap.h"
#include "cache.h"
#include "region.h" #include "region.h"
#include "path.h" #include "path.h"
#include "debugtools.h" #include "debugtools.h"

View file

@ -990,6 +990,7 @@ DWORD WINAPI RtlIntegerToChar(DWORD x1,DWORD x2,DWORD x3,DWORD x4);
LPVOID WINAPI RtlNormalizeProcessParams(LPVOID x); LPVOID WINAPI RtlNormalizeProcessParams(LPVOID x);
DWORD WINAPI RtlNtStatusToDosError(DWORD error); DWORD WINAPI RtlNtStatusToDosError(DWORD error);
BOOLEAN WINAPI RtlGetNtProductType(LPDWORD type); BOOLEAN WINAPI RtlGetNtProductType(LPDWORD type);
PIMAGE_NT_HEADERS WINAPI RtlImageNtHeader(HMODULE hModule);
DWORD WINAPI RtlOpenCurrentUser( DWORD WINAPI RtlOpenCurrentUser(
IN ACCESS_MASK DesiredAccess, IN ACCESS_MASK DesiredAccess,

View file

@ -273,12 +273,6 @@ OLESTATUS WINAPI OleCreateFromClip16(
LPCSTR name, LPOLECLIENT olecli, LHCLIENTDOC hclientdoc, LPCSTR xname, LPCSTR name, LPOLECLIENT olecli, LHCLIENTDOC hclientdoc, LPCSTR xname,
LPOLEOBJECT *lpoleob, UINT16 render, UINT16 clipformat); LPOLEOBJECT *lpoleob, UINT16 render, UINT16 clipformat);
/* com functions */
void WINAPI CoFreeUnusedLibraries(void);
HINSTANCE WINAPI CoLoadLibrary(LPOLESTR lpszLibName, BOOL bAutoFree);
void WINAPI CoFreeUnusedLibraries(void);
void WINAPI CoFreeAllLibraries(void);
#ifdef __cplusplus #ifdef __cplusplus
} /*extern*/ } /*extern*/
#endif #endif

View file

@ -707,6 +707,8 @@ LPVOID WINAPI CoTaskMemRealloc(LPVOID ptr, ULONG size);
HRESULT WINAPI CoCreateGuid(GUID* pguid); HRESULT WINAPI CoCreateGuid(GUID* pguid);
HINSTANCE WINAPI CoLoadLibrary(LPOLESTR lpszLibName, BOOL bAutoFree);
void WINAPI CoFreeAllLibraries(void); void WINAPI CoFreeAllLibraries(void);
void WINAPI CoFreeLibrary(HINSTANCE hLibrary); void WINAPI CoFreeLibrary(HINSTANCE hLibrary);

View file

@ -63,7 +63,6 @@
#include "options.h" #include "options.h"
#include "server.h" #include "server.h"
#include "process.h"
#include "winerror.h" #include "winerror.h"
#include "services.h" #include "services.h"
#include "callback.h" #include "callback.h"

View file

@ -9,6 +9,7 @@
#include <locale.h> #include <locale.h>
#include <ctype.h> #include <ctype.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h>
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>
#ifdef MALLOC_DEBUGGING #ifdef MALLOC_DEBUGGING
@ -18,17 +19,12 @@
#include "winbase.h" #include "winbase.h"
#include "winsock.h" #include "winsock.h"
#include "heap.h" #include "heap.h"
#include "message.h"
#include "msdos.h" #include "msdos.h"
#include "color.h"
#include "options.h" #include "options.h"
#include "debugtools.h" #include "debugtools.h"
#include "debugdefs.h" #include "debugdefs.h"
#include "module.h" #include "module.h"
#include "version.h"
#include "winnls.h" #include "winnls.h"
#include "console.h"
#include "gdi.h"
#include "user.h" #include "user.h"
#include "windef.h" #include "windef.h"
#include "wingdi.h" #include "wingdi.h"

View file

@ -8,11 +8,10 @@
#include "wingdi.h" #include "wingdi.h"
#include "winuser.h" #include "winuser.h"
#include "miscemu.h" #include "miscemu.h"
#include "input.h"
#include "debugtools.h" #include "debugtools.h"
#include "dosexe.h" #include "dosexe.h"
DEFAULT_DEBUG_CHANNEL(int) DEFAULT_DEBUG_CHANNEL(int);
#define QUEUELEN 31 #define QUEUELEN 31

View file

@ -14,7 +14,6 @@
#include "bitmap.h" #include "bitmap.h"
#include "heap.h" #include "heap.h"
#include "global.h" #include "global.h"
#include "cursoricon.h"
#include "debugtools.h" #include "debugtools.h"
#include "wine/winuser16.h" #include "wine/winuser16.h"

View file

@ -10,7 +10,7 @@
* *
*/ */
#include <win.h> #include <windows.h>
#define CHARSETSIZE 255 #define CHARSETSIZE 255

View file

@ -9,11 +9,9 @@
#include <sys/time.h> #include <sys/time.h>
#include <unistd.h> #include <unistd.h>
#include "heap.h" #include "heap.h"
#include "process.h"
#include "thread.h" #include "thread.h"
#include "winerror.h" #include "winerror.h"
#include "syslevel.h" #include "syslevel.h"
#include "message.h"
#include "server.h" #include "server.h"
/*********************************************************************** /***********************************************************************

View file

@ -6,15 +6,15 @@
*/ */
#include "windef.h" #include "windef.h"
#include "winbase.h"
#include "wingdi.h" #include "wingdi.h"
#include "winuser.h"
#include "wine/wingdi16.h" #include "wine/wingdi16.h"
#include "wine/winuser16.h" #include "wine/winuser16.h"
#include "module.h"
#include "win.h" #include "win.h"
#include "winuser.h"
#include "debugtools.h" #include "debugtools.h"
DEFAULT_DEBUG_CHANNEL(caret) DEFAULT_DEBUG_CHANNEL(caret);
typedef struct typedef struct
{ {

View file

@ -37,7 +37,7 @@
#include "wine/winbase16.h" #include "wine/winbase16.h"
#include "wine/winuser16.h" #include "wine/winuser16.h"
#include "heap.h" #include "heap.h"
#include "color.h" #include "palette.h"
#include "bitmap.h" #include "bitmap.h"
#include "cursoricon.h" #include "cursoricon.h"
#include "global.h" #include "global.h"

View file

@ -11,7 +11,6 @@
#include "winerror.h" #include "winerror.h"
#include "wine/winbase16.h" #include "wine/winbase16.h"
#include "wine/winuser16.h" #include "wine/winuser16.h"
#include "miscemu.h"
#include "syslevel.h" #include "syslevel.h"
#include "module.h" #include "module.h"
#include "queue.h" #include "queue.h"

View file

@ -18,7 +18,6 @@
#include <string.h> #include <string.h>
#include "bitmap.h" #include "bitmap.h"
#include "color.h"
#include "debugtools.h" #include "debugtools.h"
#include "dce.h" #include "dce.h"
#include "dc.h" #include "dc.h"