mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-05 22:01:12 +00:00
Moved Load/FreeLibrary16 definition to winbase16.h.
This commit is contained in:
parent
ecd921e551
commit
680919c2e6
|
@ -6,11 +6,12 @@
|
|||
*/
|
||||
|
||||
#include "winbase.h"
|
||||
#include "wine/winbase16.h"
|
||||
#include "commdlg.h"
|
||||
#include "cderr.h"
|
||||
#include "debugtools.h"
|
||||
|
||||
DEFAULT_DEBUG_CHANNEL(commdlg)
|
||||
DEFAULT_DEBUG_CHANNEL(commdlg);
|
||||
|
||||
#include "cdlg.h"
|
||||
|
||||
|
|
|
@ -19,12 +19,13 @@
|
|||
#include "process.h"
|
||||
#include "commctrl.h"
|
||||
#include "wine/obj_clientserver.h"
|
||||
#include "wine/winbase16.h"
|
||||
#include "wine/wingdi16.h"
|
||||
#include "debugtools.h"
|
||||
#include "ole2ver.h"
|
||||
#include "winreg.h"
|
||||
|
||||
DEFAULT_DEBUG_CHANNEL(ole)
|
||||
DEFAULT_DEBUG_CHANNEL(ole);
|
||||
|
||||
/******************************************************************************
|
||||
* These are static/global variables and internal data structures that the
|
||||
|
|
|
@ -532,7 +532,7 @@ typedef struct tagMEMORYSTATUS
|
|||
/* Debugging support (DEBUG SYSTEM ONLY) */
|
||||
typedef struct
|
||||
{
|
||||
UINT16 flags;
|
||||
WORD flags;
|
||||
DWORD dwOptions WINE_PACKED;
|
||||
DWORD dwFilter WINE_PACKED;
|
||||
CHAR achAllocModule[8] WINE_PACKED;
|
||||
|
@ -750,7 +750,7 @@ typedef struct
|
|||
|
||||
typedef struct _SYSTEM_POWER_STATUS
|
||||
{
|
||||
BOOL16 ACLineStatus;
|
||||
BYTE ACLineStatus;
|
||||
BYTE BatteryFlag;
|
||||
BYTE BatteryLifePercent;
|
||||
BYTE reserved;
|
||||
|
@ -1541,8 +1541,7 @@ BOOL WINAPI FindNextFileW(HANDLE,LPWIN32_FIND_DATAW);
|
|||
HRSRC WINAPI FindResourceA(HMODULE,LPCSTR,LPCSTR);
|
||||
HRSRC WINAPI FindResourceW(HMODULE,LPCWSTR,LPCWSTR);
|
||||
#define FindResource WINELIB_NAME_AW(FindResource)
|
||||
VOID WINAPI FreeLibrary16(HINSTANCE16);
|
||||
BOOL WINAPI FreeLibrary(HMODULE);
|
||||
BOOL WINAPI FreeLibrary(HMODULE);
|
||||
#define FreeModule(handle) FreeLibrary(handle)
|
||||
#define FreeProcInstance(proc) /*nothing*/
|
||||
BOOL WINAPI FreeResource(HGLOBAL);
|
||||
|
@ -1659,14 +1658,12 @@ BOOL WINAPI IsBadStringPtrW(LPCWSTR,UINT);
|
|||
BOOL WINAPI IsBadWritePtr(LPVOID,UINT);
|
||||
BOOL WINAPI IsDBCSLeadByte(BYTE);
|
||||
BOOL WINAPI IsDebuggerPresent(void);
|
||||
HINSTANCE16 WINAPI LoadLibrary16(LPCSTR);
|
||||
HMODULE WINAPI LoadLibraryA(LPCSTR);
|
||||
HMODULE WINAPI LoadLibraryW(LPCWSTR);
|
||||
HMODULE WINAPI LoadLibraryA(LPCSTR);
|
||||
HMODULE WINAPI LoadLibraryW(LPCWSTR);
|
||||
#define LoadLibrary WINELIB_NAME_AW(LoadLibrary)
|
||||
HMODULE WINAPI LoadLibraryExA(LPCSTR,HANDLE,DWORD);
|
||||
HMODULE WINAPI LoadLibraryExW(LPCWSTR,HANDLE,DWORD);
|
||||
HMODULE WINAPI LoadLibraryExA(LPCSTR,HANDLE,DWORD);
|
||||
HMODULE WINAPI LoadLibraryExW(LPCWSTR,HANDLE,DWORD);
|
||||
#define LoadLibraryEx WINELIB_NAME_AW(LoadLibraryEx)
|
||||
HINSTANCE16 WINAPI LoadModule16(LPCSTR,LPVOID);
|
||||
HINSTANCE WINAPI LoadModule(LPCSTR,LPVOID);
|
||||
HGLOBAL WINAPI LoadResource(HMODULE,HRSRC);
|
||||
HLOCAL WINAPI LocalAlloc(UINT,DWORD);
|
||||
|
|
|
@ -112,6 +112,7 @@ void WINAPI ExitKernel16(void);
|
|||
void WINAPI FatalAppExit16(UINT16,LPCSTR);
|
||||
ATOM WINAPI FindAtom16(LPCSTR);
|
||||
BOOL16 WINAPI FindClose16(HANDLE16);
|
||||
VOID WINAPI FreeLibrary16(HINSTANCE16);
|
||||
HRSRC16 WINAPI FindResource16(HINSTANCE16,SEGPTR,SEGPTR);
|
||||
BOOL16 WINAPI FreeModule16(HMODULE16);
|
||||
void WINAPI FreeProcInstance16(FARPROC16);
|
||||
|
@ -150,6 +151,8 @@ BOOL16 WINAPI IsBadReadPtr16(SEGPTR,UINT16);
|
|||
BOOL16 WINAPI IsBadStringPtr16(SEGPTR,UINT16);
|
||||
BOOL16 WINAPI IsBadWritePtr16(SEGPTR,UINT16);
|
||||
BOOL16 WINAPI IsDBCSLeadByte16(BYTE);
|
||||
HINSTANCE16 WINAPI LoadLibrary16(LPCSTR);
|
||||
HINSTANCE16 WINAPI LoadModule16(LPCSTR,LPVOID);
|
||||
HGLOBAL16 WINAPI LoadResource16(HINSTANCE16,HRSRC16);
|
||||
HLOCAL16 WINAPI LocalAlloc16(UINT16,WORD);
|
||||
UINT16 WINAPI LocalCompact16(UINT16);
|
||||
|
|
|
@ -48,6 +48,7 @@
|
|||
#endif
|
||||
#include "windef.h"
|
||||
#include "winbase.h"
|
||||
#include "wine/winbase16.h"
|
||||
#include "winerror.h"
|
||||
#include "callback.h"
|
||||
#include "file.h"
|
||||
|
@ -63,12 +64,12 @@
|
|||
#include "server.h"
|
||||
#include "debugtools.h"
|
||||
|
||||
DEFAULT_DEBUG_CHANNEL(win32)
|
||||
DECLARE_DEBUG_CHANNEL(delayhlp)
|
||||
DECLARE_DEBUG_CHANNEL(fixup)
|
||||
DECLARE_DEBUG_CHANNEL(module)
|
||||
DECLARE_DEBUG_CHANNEL(relay)
|
||||
DECLARE_DEBUG_CHANNEL(segment)
|
||||
DEFAULT_DEBUG_CHANNEL(win32);
|
||||
DECLARE_DEBUG_CHANNEL(delayhlp);
|
||||
DECLARE_DEBUG_CHANNEL(fixup);
|
||||
DECLARE_DEBUG_CHANNEL(module);
|
||||
DECLARE_DEBUG_CHANNEL(relay);
|
||||
DECLARE_DEBUG_CHANNEL(segment);
|
||||
|
||||
|
||||
/* convert PE image VirtualAddress to Real Address */
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
#endif
|
||||
|
||||
#include "windef.h"
|
||||
#include "wine/winbase16.h"
|
||||
#include "wingdi.h"
|
||||
#include "winuser.h"
|
||||
#include "builtin32.h"
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#include <string.h>
|
||||
#include "heap.h"
|
||||
#include "windef.h"
|
||||
#include "wine/winbase16.h"
|
||||
#include "wingdi.h"
|
||||
#include "winuser.h"
|
||||
#include "driver.h"
|
||||
|
@ -19,7 +20,7 @@
|
|||
#include "mmddk.h"
|
||||
#include "debugtools.h"
|
||||
|
||||
DEFAULT_DEBUG_CHANNEL(driver)
|
||||
DEFAULT_DEBUG_CHANNEL(driver);
|
||||
|
||||
/* The following definitions are WINE internals */
|
||||
/* FIXME: This is a WINE internal struct and should be moved in include/wine directory
|
||||
|
|
Loading…
Reference in a new issue