Preparations for 32-bit/64-bit architectures

Added stubs for most user32.dll functions

svn path=/trunk/; revision=1897
This commit is contained in:
Casper Hornstrup 2001-05-07 22:03:27 +00:00
parent 3694ebf507
commit fc6a12de18
23 changed files with 7042 additions and 1455 deletions

View file

@ -17,7 +17,8 @@ include rules.mak
#
COMPONENTS = iface_native iface_additional ntoskrnl
BUS = acpi isapnp
DLLS = ntdll kernel32 crtdll advapi32 fmifs gdi32 secur32 user32 ws2_32 msafd msvcrt
DLLS = ntdll kernel32 crtdll advapi32 fmifs gdi32 secur32 user32 ws2_32 \
msafd msvcrt
SUBSYS = smss win32k csrss
#
@ -41,8 +42,8 @@ DEVICE_DRIVERS = vidport vga blue ide null floppy
#INPUT_DRIVERS = keyboard
INPUT_DRIVERS = keyboard
#FS_DRIVERS = vfat minix ext2 template
FS_DRIVERS = vfat ms
#FS_DRIVERS = vfat minix ms np ext2 template
FS_DRIVERS = vfat ms np
#NET_DRIVERS = ndis tdi tcpip tditest wshtcpip afd
NET_DRIVERS = ndis tcpip tditest wshtcpip afd

View file

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.4 2001/05/01 11:09:01 ekohl Exp $
# $Id: Makefile,v 1.5 2001/05/07 22:03:27 chorns Exp $
#
# Named Pipes File System
#
@ -42,7 +42,7 @@ $(TARGETNAME).sys: $(OBJECTS)
$(CC) \
--verbose \
-Wl,--image-base,0x10000 \
-Wl,-e,_DriverEntry \
-Wl,-e,_DriverEntry@8 \
-specs=../../svc_specs \
-mdll \
-o $(TARGETNAME).sys \

View file

@ -1,4 +1,4 @@
/* $Id: mount.c,v 1.5 2001/05/01 11:09:01 ekohl Exp $
/* $Id: mount.c,v 1.6 2001/05/07 22:03:27 chorns Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -22,7 +22,7 @@
/* FUNCTIONS *****************************************************************/
NTSTATUS DriverEntry(PDRIVER_OBJECT DriverObject,
NTSTATUS STDCALL DriverEntry(PDRIVER_OBJECT DriverObject,
PUNICODE_STRING RegistryPath)
{
PDEVICE_OBJECT DeviceObject;

View file

@ -1008,11 +1008,11 @@ GetKeyboardLayoutNameA(
HDESK
STDCALL
CreateDesktopA(
LPSTR lpszDesktop,
LPSTR lpszDevice,
LPCSTR lpszDesktop,
LPCSTR lpszDevice,
LPDEVMODE pDevmode,
DWORD dwFlags,
DWORD dwDesiredAccess,
ACCESS_MASK dwDesiredAccess,
LPSECURITY_ATTRIBUTES lpsa);
HDESK
@ -1085,7 +1085,7 @@ GetMessageA(
UINT wMsgFilterMin,
UINT wMsgFilterMax);
LONG
LRESULT
STDCALL
DispatchMessageA(
CONST MSG *lpMsg);
@ -1116,7 +1116,7 @@ SendMessageTimeoutA(
LPARAM lParam,
UINT fuFlags,
UINT uTimeout,
LPDWORD lpdwResult);
PDWORD_PTR lpdwResult);
WINBOOL
STDCALL
@ -1134,7 +1134,7 @@ SendMessageCallbackA(
WPARAM wParam,
LPARAM lParam,
SENDASYNCPROC lpResultCallBack,
DWORD dwData);
ULONG_PTR dwData);
WINBOOL
STDCALL
@ -1262,7 +1262,7 @@ GetDlgItemTextA(
LPSTR lpString,
int nMaxCount);
LONG
LRESULT
STDCALL
SendDlgItemMessageA(
HWND hDlg,
@ -1511,11 +1511,10 @@ GetMenuItemInfoA(
WINBOOL
STDCALL
SetMenuItemInfoA(
HMENU,
UINT,
WINBOOL,
LPCMENUITEMINFO
);
HMENU hMenu,
UINT uItem,
WINBOOL fByPosition,
LPMENUITEMINFO lpmii);
int
STDCALL
@ -1731,12 +1730,6 @@ LoadStringA(
LPSTR lpBuffer,
int nBufferMax);
WINBOOL
STDCALL
IsDialogMessageA(
HWND hDlg,
LPMSG lpMsg);
int
STDCALL
DlgDirListA(
@ -1791,8 +1784,8 @@ DefMDIChildProcA(
HWND
STDCALL
CreateMDIWindowA(
LPSTR lpClassName,
LPSTR lpWindowName,
LPCSTR lpClassName,
LPCSTR lpWindowName,
DWORD dwStyle,
int X,
int Y,

View file

@ -152,7 +152,6 @@ typedef HANDLE HSTMT;
typedef HANDLE HSZ;
typedef HANDLE HWINSTA;
typedef HANDLE HWND;
typedef int INT;
typedef unsigned short LANGID;
//typedef DWORD LCID;
typedef DWORD LCTYPE;
@ -176,8 +175,8 @@ typedef DWORD *LPDWORD;
/* typedef LPFRHOOKPROC; */
typedef HANDLE *LPHANDLE;
/* typedef LPHANDLER_FUNCTION; */
typedef int *LPINT;
typedef long *LPLONG;
typedef PINT LPINT;
typedef PLONG LPLONG;
typedef long LRESULT;
typedef unsigned short *LPWCH;
@ -189,7 +188,6 @@ typedef const CHAR *PCCH;
typedef const char *PCSTR;
typedef const unsigned short *PCWCH;
/* typedef PHKEY; */
typedef int *PINT;
/* typedef LCID *PLCID; */
typedef short *PSHORT;
/* typedef PSID; */

View file

@ -1,4 +1,4 @@
/* $Id: rtl.h,v 1.48 2001/03/01 15:33:39 ekohl Exp $
/* $Id: rtl.h,v 1.49 2001/05/07 22:03:26 chorns Exp $
*
*/
@ -636,7 +636,7 @@ RtlClearBits (
IN ULONG NumberToClear
);
UINT
DWORD
STDCALL
RtlCompactHeap (
HANDLE hheap,

View file

@ -21,7 +21,7 @@ typedef struct t_SSPT {
typedef struct t_KeServiceDescriptorTableEntry {
PSSDT SSDT;
unsigned long* ServiceCounterTable;
PULONG ServiceCounterTable;
unsigned int NumberOfServices;
PSSPT SSPT;

View file

@ -3667,14 +3667,14 @@ ZeroMemory (
#define FillMemory(p, c, v) memset ((p), (v), (c))
#define ZeroMemory(p, c) memset ((p), 0, (c))
#ifdef WIN95
HKL
#ifdef WINNT351
WINBOOL
STDCALL
ActivateKeyboardLayout(
HKL hkl,
UINT Flags);
#else
WINBOOL
HKL
STDCALL
ActivateKeyboardLayout(
HKL hkl,
@ -3700,7 +3700,7 @@ UnloadKeyboardLayout(
HKL hkl);
int
UINT
STDCALL
GetKeyboardLayoutList(
int nBuff,
@ -3840,7 +3840,7 @@ GetMessageTime(
VOID);
LONG
LPARAM
STDCALL
GetMessageExtraInfo(
VOID);
@ -4146,7 +4146,7 @@ GetDlgCtrlID(
HWND hWnd);
long
LONG
STDCALL
GetDialogBaseUnits(VOID);
@ -5496,7 +5496,11 @@ DrawFrameControl(HDC, LPRECT, UINT, UINT);
WINBOOL
STDCALL
DrawCaption(HWND, HDC, CONST RECT *, UINT);
DrawCaption(
HWND hwnd,
HDC hdc,
LPRECT lprc,
UINT uFlags);
WINBOOL
STDCALL

View file

@ -197,11 +197,6 @@ typedef struct _CM_EISA_FUNCTION_INFORMATION
typedef CONST CHAR *PCSTR;
/* Could be defined in tdi.h */
#ifndef __TDI_H
typedef signed int INT, *PINT;
#endif /* __TDI_H */
#endif /* NDIS_MINIPORT_DRIVER */
#include "netevent.h"
@ -209,11 +204,6 @@ typedef signed int INT, *PINT;
#include "ntddndis.h"
/* More types */
typedef ULONG ULONG_PTR, *PULONG_PTR;
#if defined(NDIS_MINIPORT_DRIVER) || !defined(_MSC_VER)
#ifndef GUID_DEFINED

View file

@ -1,4 +1,4 @@
/* $Id: rtl.h,v 1.24 2001/02/17 17:40:05 ekohl Exp $
/* $Id: rtl.h,v 1.25 2001/05/07 22:03:26 chorns Exp $
*
*/
@ -71,7 +71,7 @@ RtlTryEnterCriticalSection (
PCRITICAL_SECTION CriticalSection
);
UINT
DWORD
STDCALL
RtlCompactHeap (
HANDLE heap,

View file

@ -4,33 +4,94 @@
* FILE: include/types.h
* PURPOSE: Types used by all the parts of the system
* PROGRAMMER: David Welch <welch@cwcom.net>
* UPDATE HISTORY:
* DEFINES: _WIN64: 64-bit architecture
* _WIN32: 32-bit architecture (default)
* UPDATE HISTORY:
* 27/06/00: Created
* 01/05/01: Portabillity changes
*/
#ifndef __INCLUDE_TYPES_H
#define __INCLUDE_TYPES_H
/* Fixed precision types */
typedef signed char INT8, *PINT8;
typedef signed short INT16, *PINT16;
typedef signed int INT32, *PINT32;
typedef signed long long INT64, *PINT64;
typedef unsigned char UINT8, *PUINT8;
typedef unsigned short UINT16, *PUINT16;
typedef unsigned int UINT32, *PUINT32;
typedef unsigned long long UINT64, *PUINT64;
typedef signed long int LONG32, *PLONG32;
typedef unsigned long int ULONG32, *PULONG32;
typedef unsigned long int DWORD32, *PDWORD32;
#ifdef _WIN64
/* 64-bit architecture */
typedef INT64 INT, *PINT;
typedef LONG64 LONG, *PLONG;
typedef DWORD64 DWORD, *PDWORD;
typedef UINT64 UINT, *PUINT;
typedef ULONG64 ULONG, *PULONG;
/* Pointer precision types */
typedef long long INT_PTR, *PINT_PTR;
typedef unsigned long long UINT_PTR, *PUINT_PTR;
typedef long long LONG_PTR, *PLONG_PTR;
typedef unsigned long long ULONG_PTR, *PULONG_PTR;
typedef unsigned long long HANDLE_PTR;
typedef unsigned int UHALF_PTR, *PUHALF_PTR;
typedef int HALF_PTR, *PHALF_PTR;
#else /* _WIN64 */
/* 32-bit architecture */
typedef INT32 INT, *PINT;
typedef LONG32 LONG, *PLONG;
typedef DWORD32 DWORD, *PDWORD;
typedef UINT32 UINT, *PUINT;
typedef ULONG32 ULONG, *PULONG;
/* Pointer precision types */
typedef int INT_PTR, *PINT_PTR;
typedef unsigned int UINT_PTR, *PUINT_PTR;
typedef long LONG_PTR, *PLONG_PTR;
typedef unsigned long ULONG_PTR, *PULONG_PTR;
typedef unsigned short UHALF_PTR, *PUHALF_PTR;
typedef short HALF_PTR, *PHALF_PTR;
typedef unsigned long HANDLE_PTR;
#endif /* _WIN64 */
typedef ULONG_PTR DWORD_PTR, *PDWORD_PTR;
typedef long long LONG64, *PLONG64;
typedef unsigned long long ULONG64, *PULONG64;
typedef unsigned long long DWORD64, *PDWORD64;
typedef unsigned char UCHAR;
typedef unsigned int UINT;
typedef unsigned long ULONG;
typedef unsigned short USHORT;
typedef unsigned short WCHAR;
typedef unsigned short WORD;
typedef int BOOL;
typedef unsigned char BOOLEAN;
typedef BOOLEAN* PBOOLEAN;
typedef unsigned int DWORD; /* was unsigned long */
typedef unsigned short *LPWSTR;
typedef unsigned short *PWSTR;
typedef unsigned char *PUCHAR;
typedef unsigned int *PUINT;
typedef unsigned long *PULONG;
typedef unsigned short *PUSHORT;
typedef void *PVOID;
typedef unsigned char BYTE;
typedef void *LPVOID;
typedef DWORD *PDWORD;
typedef float *PFLOAT;
typedef unsigned short *PWCH;
typedef unsigned short *PWORD;
@ -40,12 +101,11 @@ typedef unsigned long long ULONGLONG;
typedef long long *PLONGLONG;
typedef unsigned long long *PULONGLONG;
/* Check VOID before defining CHAR, SHORT, and LONG */
/* Check VOID before defining CHAR, SHORT */
#ifndef VOID
#define VOID void
typedef char CHAR;
typedef short SHORT;
typedef long LONG;
#endif
typedef CHAR *PCHAR;
@ -315,8 +375,6 @@ typedef struct _EXCEPTION_RECORD {
DWORD ExceptionInformation[EXCEPTION_MAXIMUM_PARAMETERS];
} EXCEPTION_RECORD, *PEXCEPTION_RECORD, *LPEXCEPTION_RECORD;
typedef long *PLONG;
typedef const void *LPCVOID;
typedef BYTE *LPBYTE;

View file

@ -647,7 +647,7 @@ typedef struct tagCONVINFO {
CONVCONTEXT ConvCtxt;
HWND hwnd;
HWND hwndPartner;
} CONVINFO;
} CONVINFO, *PCONVINFO;
typedef struct tagCOPYDATASTRUCT {
DWORD dwData;
@ -4230,6 +4230,187 @@ typedef struct
/* PE executable header. */
/* Windows.h now includes pe.h to avoid conflicts! */
typedef struct _DISPLAY_DEVICE {
DWORD cb;
WCHAR DeviceName[32];
WCHAR DeviceString[128];
DWORD StateFlags;
WCHAR DeviceID[128];
WCHAR DeviceKey[128];
} DISPLAY_DEVICE, *PDISPLAY_DEVICE;
typedef HANDLE HMONITOR;
typedef HANDLE HDEVNOTIFY;
typedef BOOL CALLBACK (*MonitorEnumProc)(
HMONITOR hMonitor,
HDC hdcMonitor,
LPRECT lprcMonitor,
LPARAM dwData);
typedef MonitorEnumProc MONITORENUMPROC;
typedef struct {
UINT cbSize;
HWND hwnd;
DWORD dwFlags;
UINT uCount;
DWORD dwTimeout;
} FLASHWINFO, *PFLASHWINFO;
typedef struct tagALTTABINFO {
DWORD cbSize;
int cItems;
int cColumns;
int cRows;
int iColFocus;
int iRowFocus;
int cxItem;
int cyItem;
POINT ptStart;
} ALTTABINFO, *PALTTABINFO, *LPALTTABINFO;
typedef struct tagCOMBOBOXINFO {
DWORD cbSize;
RECT rcItem;
RECT rcButton;
DWORD stateButton;
HWND hwndCombo;
HWND hwndItem;
HWND hwndList;
} COMBOBOXINFO, *PCOMBOBOXINFO, *LPCOMBOBOXINFO;
typedef struct tagCURSORINFO {
DWORD cbSize;
DWORD flags;
HCURSOR hCursor;
POINT ptScreenPos;
} CURSORINFO, *PCURSORINFO, *LPCURSORINFO;
typedef struct tagGUITHREADINFO {
DWORD cbSize;
DWORD flags;
HWND hwndActive;
HWND hwndFocus;
HWND hwndCapture;
HWND hwndMenuOwner;
HWND hwndMoveSize;
HWND hwndCaret;
RECT rcCaret;
} GUITHREADINFO, *PGUITHREADINFO, *LPGUITHREADINFO;
typedef struct tagLASTINPUTINFO {
UINT cbSize;
DWORD dwTime;
} LASTINPUTINFO, *PLASTINPUTINFO;
typedef struct tagMENUBARINFO {
DWORD cbSize;
RECT rcBar;
HMENU hMenu;
HWND hwndMenu;
BOOL fBarFocused:1;
BOOL fFocused:1;
} MENUBARINFO, *PMENUBARINFO;
typedef struct tagMENUINFO {
DWORD cbSize;
DWORD fMask;
DWORD dwStyle;
UINT cyMax;
HBRUSH hbrBack;
DWORD dwContextHelpID;
ULONG_PTR dwMenuData;
} MENUINFO, FAR *LPMENUINFO;
typedef MENUINFO CONST FAR *LPCMENUINFO;
typedef struct tagMONITORINFO {
DWORD cbSize;
RECT rcMonitor;
RECT rcWork;
DWORD dwFlags;
} MONITORINFO, *LPMONITORINFO;
typedef struct tagMOUSEMOVEPOINT {
int x;
int y;
DWORD time;
ULONG_PTR dwExtraInfo;
} MOUSEMOVEPOINT, *PMOUSEMOVEPOINT, *LPMOUSEMOVEPOINT;
#define CCHILDREN_SCROLLBAR 5
typedef struct tagSCROLLBARINFO {
DWORD cbSize;
RECT rcScrollBar;
int dxyLineButton;
int xyThumbTop;
int xyThumbBottom;
int reserved;
DWORD rgstate[CCHILDREN_SCROLLBAR+1];
} SCROLLBARINFO, *PSCROLLBARINFO, *LPSCROLLBARINFO;
#define CCHILDREN_TITLEBAR 5
typedef struct tagTITLEBARINFO {
DWORD cbSize;
RECT rcTitleBar;
DWORD rgstate[CCHILDREN_TITLEBAR+1];
} TITLEBARINFO, *PTITLEBARINFO, *LPTITLEBARINFO;
typedef struct {
HWND hwnd;
LPCTSTR szWindowName;
UINT32 fToBeClosed;
UINT32 fToBeTerminated;
} WINDOWINFO, *PWINDOWINFO, *LPWINDOWINFO;
typedef struct tagMOUSEINPUT {
LONG dx;
LONG dy;
DWORD mouseData;
DWORD dwFlags;
DWORD time;
ULONG_PTR dwExtraInfo;
} MOUSEINPUT, *PMOUSEINPUT;
typedef struct tagKEYBDINPUT {
WORD wVk;
WORD wScan;
DWORD dwFlags;
DWORD time;
ULONG_PTR dwExtraInfo;
} KEYBDINPUT, *PKEYBDINPUT;
typedef struct tagHARDWAREINPUT {
DWORD uMsg;
WORD wParamL;
WORD wParamH;
} HARDWAREINPUT, *PHARDWAREINPUT;
typedef struct tagINPUT {
DWORD type;
union
{
MOUSEINPUT mi;
KEYBDINPUT ki;
HARDWAREINPUT hi;
} u;
} INPUT, *PINPUT, FAR* LPINPUT;
typedef struct tagTRACKMOUSEEVENT {
DWORD cbSize;
DWORD dwFlags;
HWND hwndTrack;
DWORD dwHoverTime;
} TRACKMOUSEEVENT, *LPTRACKMOUSEEVENT;
typedef struct _BLENDFUNCTION {
BYTE BlendOp;
BYTE BlendFlags;
BYTE SourceConstantAlpha;
BYTE AlphaFormat;
}BLENDFUNCTION, *PBLENDFUNCTION, *LPBLENDFUNCTION;
#ifdef __cplusplus
}

View file

@ -1009,11 +1009,11 @@ GetKeyboardLayoutNameW(
HDESK
STDCALL
CreateDesktopW(
LPWSTR lpszDesktop,
LPWSTR lpszDevice,
LPCWSTR lpszDesktop,
LPCWSTR lpszDevice,
LPDEVMODE pDevmode,
DWORD dwFlags,
DWORD dwDesiredAccess,
ACCESS_MASK dwDesiredAccess,
LPSECURITY_ATTRIBUTES lpsa);
HDESK
@ -1082,7 +1082,7 @@ GetMessageW(
UINT wMsgFilterMin,
UINT wMsgFilterMax);
LONG
LRESULT
STDCALL
DispatchMessageW(
CONST MSG *lpMsg);
@ -1113,7 +1113,7 @@ SendMessageTimeoutW(
LPARAM lParam,
UINT fuFlags,
UINT uTimeout,
LPDWORD lpdwResult);
PDWORD_PTR lpdwResult);
WINBOOL
STDCALL
@ -1131,7 +1131,7 @@ SendMessageCallbackW(
WPARAM wParam,
LPARAM lParam,
SENDASYNCPROC lpResultCallBack,
DWORD dwData);
ULONG_PTR dwData);
WINBOOL
STDCALL
@ -1259,7 +1259,7 @@ GetDlgItemTextW(
LPWSTR lpString,
int nMaxCount);
LONG
LRESULT
STDCALL
SendDlgItemMessageW(
HWND hDlg,
@ -1508,11 +1508,10 @@ GetMenuItemInfoW(
WINBOOL
STDCALL
SetMenuItemInfoW(
HMENU,
UINT,
WINBOOL,
LPCMENUITEMINFO
);
HMENU hMenu,
UINT uItem,
WINBOOL fByPosition,
LPMENUITEMINFO lpmii);
int
STDCALL
@ -1786,8 +1785,8 @@ DefMDIChildProcW(
HWND
STDCALL
CreateMDIWindowW(
LPWSTR lpClassName,
LPWSTR lpWindowName,
LPCWSTR lpClassName,
LPCWSTR lpWindowName,
DWORD dwStyle,
int X,
int Y,
@ -2996,14 +2995,24 @@ ShellExecuteW (HWND, const LPCWSTR, const LPCWSTR, LPCWSTR, const LPCWSTR, int);
/* -------------------------------------------------- */
/* From ddeml.h in old Cygnus headers */
HSZ WINAPI
DdeCreateStringHandleW (DWORD, LPCWSTR, int);
HSZ
WINAPI
DdeCreateStringHandleW(
DWORD idInst,
LPWSTR psz,
int iCodePage);
UINT WINAPI
DdeInitializeW (DWORD *, CALLB, DWORD, DWORD);
DWORD WINAPI
DdeQueryStringW (DWORD, HSZ, LPCWSTR, DWORD, int);
DWORD
WINAPI
DdeQueryStringW(
DWORD idInst,
HSZ hsz,
LPWSTR psz,
DWORD cchMax,
int iCodePage);
/* end of stuff from ddeml.h in old Cygnus headers */
/* ----------------------------------------------- */

View file

@ -1,4 +1,4 @@
/* $Id: thread.c,v 1.22 2000/10/11 20:50:32 dwelch Exp $
/* $Id: thread.c,v 1.23 2001/05/07 22:03:26 chorns Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
@ -217,7 +217,7 @@ DWORD STDCALL GetCurrentThreadId()
return((DWORD)(NtCurrentTeb()->Cid).UniqueThread);
}
VOID STDCALL ExitThread(UINT uExitCode)
VOID STDCALL ExitThread(DWORD uExitCode)
{
NTSTATUS errCode;
BOOLEAN LastThread;

View file

@ -1,45 +1,121 @@
ifneq ($(HOST),mingw32-windows)
ifneq ($(HOST),mingw32-linux)
DLLTARGET=ntdll.a
DLLMAIN=
else
DLLTARGET=ntdll.dll
DLLMAIN=main/dllmain.o
endif
else
DLLTARGET=ntdll.dll
DLLMAIN=main/dllmain.o
endif
# $Id: Makefile_rex,v 1.3 2001/05/07 22:03:26 chorns Exp $
#
# ReactOS Operating System
#
PATH_TO_TOP = ../..
TARGET = ntdll
CFLAGS = -D__NTDLL__ -g
IMAGE_BASE = 0x77f60000
DLLTARGET=$(TARGET).dll
DLLMAIN=main/dllmain.o
all: $(DLLTARGET)
OBJECTS = napi.o ldr/startup.o rtl/largeint.o rtl/namespc.o rtl/unicode.o \
stdio/vsprintf.o string/ctype.o string/memcpy.o string/memset.o \
string/strcat.o string/strcmp.o string/strcpy.o string/stricmp.o \
string/strlen.o string/strncmp.o string/strncpy.o string/strnlen.o \
string/strrchr.o string/wstring.o stubs/stubs.o rtl/heap.o \
rtl/critical.o rtl/mem.o
CSR_OBJECTS = csr/api.o
ntdll.a: $(OBJECTS)
$(AR) csr ntdll.a $(OBJECTS)
DBG_OBJECTS = dbg/brkpoint.o dbg/debug.o dbg/print.o
ntdll.dll: $(DLLMAIN) $(OBJECTS) def/ntdll.def
$(LD) -r $(DLLMAIN) $(OBJECTS) -o ntdll.o
$(DLLTOOL) --dllname ntdll.dll --def def/ntdll.def \
--output-lib ntdll.a
$(CC) -specs=ntdll_specs -mdll -o junk.tmp \
-Wl,--base-file,base.tmp ntdll.o
RTL_OBJECTS = rtl/critical.o rtl/error.o rtl/heap.o rtl/largeint.o \
rtl/math.o rtl/mem.o rtl/nls.o rtl/process.o rtl/sd.o \
rtl/thread.o rtl/unicode.o rtl/env.o rtl/path.o rtl/ppb.o \
rtl/bitmap.o rtl/time.o rtl/acl.o rtl/sid.o rtl/image.o \
rtl/access.o rtl/apc.o rtl/callback.o rtl/luid.o rtl/misc.o \
rtl/registry.o rtl/exception.o rtl/intrlck.o
STDIO_OBJECTS = stdio/sprintf.o stdio/swprintf.o
STDLIB_OBJECTS = stdlib/abs.o stdlib/atoi.o stdlib/atoi64.o stdlib/atol.o \
stdlib/itoa.o stdlib/itow.o stdlib/labs.o stdlib/splitp.o \
stdlib/strtol.o stdlib/strtoul.o stdlib/wcstol.o \
stdlib/wcstoul.o stdlib/wtoi.o stdlib/wtoi64.o stdlib/wtol.o \
stdlib/mbstowcs.o stdlib/wcstombs.o stdlib/qsort.o
STRING_OBJECTS = string/ctype.o string/memccpy.o string/memchr.o \
string/memcmp.o string/memcpy.o string/memicmp.o\
string/memmove.o string/memset.o string/strcat.o \
string/strchr.o string/strcmp.o string/strcspn.o \
string/strcpy.o string/stricmp.o string/strlen.o \
string/strlwr.o string/strncat.o string/strncmp.o \
string/strncpy.o string/strnicmp.o string/strnlen.o \
string/strpbrk.o string/strrchr.o string/strspn.o \
string/strstr.o string/strupr.o string/wstring.o
OBJECTS = napi.o ldr/startup.o $(DBG_OBJECTS) $(RTL_OBJECTS) \
$(STDIO_OBJECTS) $(STDLIB_OBJECTS) $(STRING_OBJECTS) \
stubs/stubs.o ldr/utils.o $(CSR_OBJECTS) $(TARGET).coff
ifeq ($(DOSCLI),yes)
CLEAN_FILES = napi.o csr\*.o dbg\*.o ldr\*.o rtl\*.o stdio\*.o stdlib\*.o \
string\*.o stubs\*.o \
$(TARGET).a main\dllmain.o $(TARGET).o $(TARGET).dll junk.tmp \
base.tmp temp.exp $(TARGET).sym $(TARGET).coff
else
CLEAN_FILES = napi.o ldr/*.o rtl/*.o stdio/*.o stdlib/*.o string/*.o stubs/*.o csr/*.o dbg/*.o \
$(TARGET).a main/dllmain.o $(TARGET).o $(TARGET).dll junk.tmp \
base.tmp temp.exp $(TARGET).sym $(TARGET).coff
endif
$(TARGET).coff: $(TARGET).rc ../../include/reactos/resource.h
$(TARGET).a: $(OBJECTS)
$(AR) csr $(TARGET).a $(OBJECTS)
$(TARGET).dll: $(DLLMAIN) $(OBJECTS) def/ntdll.def def/ntdll.edf
$(LD) \
-r $(DLLMAIN) \
$(OBJECTS) \
-o $(TARGET).o
$(DLLTOOL) \
--dllname $(TARGET).dll \
--def def/$(TARGET).def \
--kill-at \
--output-lib $(TARGET).a
$(CC) \
-nostartfiles -nostdlib \
-mdll \
-o junk.tmp \
-Wl,--base-file,base.tmp \
$(TARGET).o -lgcc
- $(RM) junk.tmp
$(DLLTOOL) --dllname ntdll.dll --base-file base.tmp \
--output-exp temp.exp --def def/ntdll.def
$(DLLTOOL) \
--dllname $(TARGET).dll \
--base-file base.tmp \
--output-exp temp.exp \
--def def/$(TARGET).edf
- $(RM) base.tmp
$(CC) -specs=ntdll_specs -mdll -o ntdll.dll ntdll.o \
-Wl,--entry=_LdrStartup \
-Wl,--image-base,0x80000000 \
-Wl,--file-alignment,0x1000 \
-Wl,--section-alignment,0x1000 \
-Wl,temp.exp
$(CC) \
-nostartfiles -nostdlib \
-mdll \
-o $(TARGET).dll \
$(TARGET).o -lgcc \
-Wl,--entry=_LdrInitializeThunk@16 \
-Wl,--image-base,$(IMAGE_BASE) \
-Wl,--file-alignment,0x1000 \
-Wl,--section-alignment,0x1000 \
-Wl,temp.exp
- $(RM) temp.exp
$(NM) --numeric-sort ntdll.dll > ntdll.sym
$(NM) --numeric-sort $(TARGET).dll > $(TARGET).sym
clean: $(CLEAN_FILES:%=%_clean)
$(CLEAN_FILES:%=%_clean): %_clean:
- $(RM) $*
.PHONY: clean $(CLEAN_FILES:%=%_clean)
install: $(FLOPPY_DIR)/dlls/$(TARGET).dll
$(FLOPPY_DIR)/dlls/$(TARGET).dll: $(TARGET).dll
$(CP) $(TARGET).dll $(FLOPPY_DIR)/dlls/$(TARGET).dll
dist: $(DIST_DIR)/dlls/$(TARGET).dll
$(DIST_DIR)/dlls/$(TARGET).dll: $(TARGET).dll
$(CP) $(TARGET).dll ../../$(DIST_DIR)/dlls/$(TARGET).dll
include ../../rules.mak

View file

@ -1,3 +1,4 @@
base.tmp
junk.tmp
user32.coff
user32.dll

View file

@ -1,4 +1,4 @@
# $Id: makefile_rex,v 1.15 2001/05/05 18:09:30 phreak Exp $
# $Id: makefile_rex,v 1.16 2001/05/07 22:03:27 chorns Exp $
#
# ReactOS Operating System
#
@ -6,44 +6,23 @@
#
PATH_TO_TOP = ../..
BASE_CFLAGS = -I../../include
include ../../rules.mak
CFLAGS = -I../../include -DDBG
TARGET=user32
DLLTARGET=$(TARGET).dll
all: $(DLLTARGET)
MISC_OBJECTS = \
misc/sprintf.o \
misc/dllmain.o \
misc/string.o \
misc/winstat.o \
misc/stubs.o \
misc/stubsa.o \
misc/stubsw.o \
misc/dllmain.o \
misc/sprintf.o \
misc/stubs.o \
misc/win32k.o
CONTROLS_OBJECTS = \
controls/button.o \
controls/combo.o \
controls/edit.o \
controls/icontitle.o \
controls/listbox.o \
controls/widgets.o \
controls/menu.o \
controls/scroll.o \
controls/static.o
RESOURCE_OBJECTS = \
resources/sysres.o
RESOURCE_OBJECT = $(TARGET).coff
OBJECTS = $(MISC_OBJECTS) $(RESOURCE_OBJECTS) $(RESOURCE_OBJECT)
OBJECTS = $(MISC_OBJECTS) $(RESOURCE_OBJECT)
LIBS = ../ntdll/ntdll.a \
../kernel32/kernel32.a \
../gdi32/gdi32.a
ifeq ($(DOSCLI),yes)
CLEAN_FILES = misc\*.o windows\*.o internal\*.o controls\*.o graphics\*.o resources\*.o \
@ -53,12 +32,14 @@ CLEAN_FILES = misc/*.o windows/*.o internal/*.o controls/*.o graphics/*.o resour
$(TARGET).o $(TARGET).a junk.tmp base.tmp temp.exp $(TARGET).dll $(TARGET).sym
endif
all: $(TARGET).dll
$(TARGET).coff: $(TARGET).rc ../../include/reactos/resource.h
$(TARGET).a: $(OBJECTS)
$(AR) csr $(TARGET).a $(OBJECTS)
$(LD) -r $(OBJECTS) -o $(TARGETNAME).a
$(TARGET).dll: $(DLLMAIN) $(OBJECTS) $(TARGET).def
$(TARGET).dll: $(LIBS) $(OBJECTS) $(TARGET).def
$(LD) -r $(OBJECTS) -o $(TARGET).o
$(DLLTOOL) \
--dllname $(TARGET).dll \
@ -66,9 +47,8 @@ $(TARGET).dll: $(DLLMAIN) $(OBJECTS) $(TARGET).def
--output-lib $(TARGET).a \
--kill-at
$(CC) $(TARGET).o \
../ntdll/ntdll.a \
../kernel32/kernel32.a \
../gdi32/gdi32.a \
$(LIBS) \
-e _DllMain@12 \
-specs=$(TARGET)_specs \
-mdll \
-o junk.tmp \
@ -77,16 +57,15 @@ $(TARGET).dll: $(DLLMAIN) $(OBJECTS) $(TARGET).def
$(DLLTOOL) \
--dllname $(TARGET).dll \
--base-file base.tmp \
--output-exp temp.exp \
--output-exp temp.exp \
--def $(TARGET).edf
- $(RM) base.tmp
$(CC) $(TARGET).o \
../ntdll/ntdll.a\
../kernel32/kernel32.a \
../gdi32/gdi32.a \
$(LIBS) \
-o $(TARGET).dll \
-specs=$(TARGET)_specs \
-mdll \
-o $(TARGET).dll \
-e _DllMain@12 \
-Wl,--image-base,0x77e70000 \
-Wl,--file-alignment,0x1000 \
-Wl,--section-alignment,0x1000 \
@ -94,8 +73,6 @@ $(TARGET).dll: $(DLLMAIN) $(OBJECTS) $(TARGET).def
- $(RM) temp.exp
$(NM) --numeric-sort $(TARGET).dll > $(TARGET).sym
$(TARGET).coff: $(TARGET).rc
clean: $(CLEAN_FILES:%=%_clean)
$(CLEAN_FILES:%=%_clean): %_clean:
@ -113,4 +90,6 @@ dist: $(DIST_DIR)/dlls/$(TARGET).dll
$(DIST_DIR)/dlls/$(TARGET).dll: $(TARGET).dll
$(CP) $(TARGET).dll ../../$(DIST_DIR)/dlls/$(TARGET).dll
include ../../rules.mak
# EOF

View file

@ -1,16 +1,5 @@
#include <windows.h>
WINBOOL STDCALL DllMain (HANDLE hInst,
ULONG ul_reason_for_call,
LPVOID lpReserved);
BOOL WINAPI DllMainCRTStartup(HANDLE hDll, DWORD dwReason, LPVOID lpReserved)
{
return(DllMain(hDll,dwReason,lpReserved));
}
INT
STDCALL
DllMain(

File diff suppressed because it is too large Load diff

View file

@ -1,218 +1,700 @@
LIBRARY user32.dll
EXPORTS
CharLowerA
CharLowerBuffA
CharLowerBuffW
CharLowerW
CharNextA
CharNextExA
CharNextW
CharPrevA
CharPrevExA
CharPrevW
CharToOemA
CharToOemBuffA
CharToOemBuffW
CharToOemW
CharUpperA
CharUpperBuffA
CharUpperBuffW
CharUpperW
CloseDesktop
CloseWindow
CloseWindowStation
CopyAcceleratorTableA
CopyAcceleratorTableW
CreateAcceleratorTableA
CreateAcceleratorTableW
CreateDesktopA
CreateDesktopW
CreateMDIWindowA
CreateMDIWindowW
CreateWindowStationA
CreateWindowStationW
DdeAbandonTransaction
DdeAccessData
DdeAddData
DdeClientTransaction
DdeCmpStringHandles
DdeConnect
DdeConnectList
DdeCreateDataHandle
DdeCreateStringHandleA
DdeCreateStringHandleW
DdeDisconnect
DdeDisconnectList
DdeEnableCallback
DdeFreeDataHandle
DdeFreeStringHandle
DdeGetData
DdeGetLastError
DdeGetQualityOfService
DdeImpersonateClient
DdeInitializeA
DdeInitializeW
DdeKeepStringHandle
DdeNameService
DdePostAdvise
DdeQueryConvInfo
DdeQueryNextServer
DdeQueryStringA
DdeQueryStringW
DdeReconnect
DdeSetQualityOfService
DdeSetUserHandle
DdeUnaccessData
DdeUninitialize
DefDlgProcA
DefDlgProcW
DefFrameProcA
DefFrameProcW
DefMDIChildProcA
DefMDIChildProcW
DestroyAcceleratorTable
DlgDirListA
DlgDirListComboBoxA
DlgDirListComboBoxW
DlgDirListW
DlgDirSelectComboBoxExA
DlgDirSelectComboBoxExW
DlgDirSelectExA
DlgDirSelectExW
DragDetect
DragObject
DrawAnimatedRects
DrawCaption
DrawFrame
DrawFrameControl
DrawStateA
DrawStateW
DrawTextExA
DrawTextExW
EndDeferWindowPos
EnumChildWindows
EnumDesktopWindows
EnumDesktopsA
EnumDesktopsW
EnumDisplaySettingsA
EnumDisplaySettingsW
EnumThreadWindows
EnumWindowStationsA
EnumWindowStationsW
EnumWindows
ExitWindowsEx
FindWindowA
FindWindowExA
FindWindowExW
FindWindowW
FreeDDElParam
GetClipCursor
GetClipboardFormatNameA
GetClipboardFormatNameW
GetCursor
GetCursorPos
GetForegroundWindow
GetInputDesktop
GetKeyNameTextA
GetKeyNameTextW
GetKeyboardLayout
GetKeyboardLayoutList
GetKeyboardLayoutNameA
GetKeyboardLayoutNameW
GetLastActivePopup
GetProcessWindowStation
GetShellWindow
GetThreadDesktop
GetUserObjectInformationA
GetUserObjectInformationW
GetUserObjectSecurity
GrayStringA
GrayStringW
ImpersonateDdeClientWindow
IsCharAlphaA
IsCharAlphaNumericA
IsCharAlphaNumericW
IsCharAlphaW
IsCharLowerA
IsCharLowerW
IsCharUpperA
IsCharUpperW
IsDialogMessage
KillSystemTimer
LoadAcceleratorsA
LoadAcceleratorsW
LoadCursorFromFileA
LoadCursorFromFileW
LoadImageA
LoadImageW
LoadKeyboardLayoutA
LoadKeyboardLayoutW
LoadStringA
LoadStringW
LockWindowUpdate
LookupIconIdFromDirectory
LookupIconIdFromDirectoryEx
MapVirtualKeyA
MapVirtualKeyExA
MapVirtualKeyExW
MapVirtualKeyW
MenuItemFromPoint
OemKeyScan
OemToCharA
OemToCharBuffA
OemToCharBuffW
OemToCharW
OpenDesktopA
OpenDesktopW
OpenIcon
OpenInputDesktop
OpenWindowStationA
OpenWindowStationW
PackDDElParam
PaintDesktop
RegisterHotKey
ReuseDDElParam
ScrollChildren
SetDebugErrorLevel
SetDeskWallpaper
SetLastErrorEx
SetProcessWindowStation
SetShellWindow
SetSystemCursor
SetSystemTimer
SetThreadDesktop
SetUserObjectInformationA
SetUserObjectInformationW
SetUserObjectSecurity
SetWindowContextHelpId
_imp__SetWindowContextHelpId
SetWindowsHookA
SetWindowsHookW
ShowOwnedPopups
SwapMouseButton
SwitchDesktop
TileChildWindows
TileWindows
ToUnicode
ToUnicodeEx
TrackMouseEvent
TranslateAccelerator
TranslateAcceleratorA
TranslateAcceleratorW
TranslateMDISysAccel
UnloadKeyboardLayout
UnpackDDElParam
UnregisterHotKey
VkKeyScanA
VkKeyScanExA
VkKeyScanExW
VkKeyScanW
WinHelpA
WinHelpW
WindowFromDC
keybd_event
mouse_event
ActivateKeyboardLayout@8
AdjustWindowRect@12
AdjustWindowRectEx@16
;AlignRects
AllowSetForegroundWindow@4
AnimateWindow@12
AnyPopup@0
AppendMenuA@16
AppendMenuW@16
ArrangeIconicWindows@4
AttachThreadInput@12
BeginDeferWindowPos@4
BeginPaint@8
BlockInput@4
BringWindowToTop@4
BroadcastSystemMessage@20
BroadcastSystemMessageA@20
BroadcastSystemMessageW@20
;CallMsgFilter@8
CallMsgFilterA@8
CallMsgFilterW@8
CallNextHookEx@16
CallWindowProcA@20
CallWindowProcW@20
;CascadeChildWindows
CascadeWindows@20
ChangeClipboardChain@8
ChangeDisplaySettingsA@8
ChangeDisplaySettingsExA@20
ChangeDisplaySettingsExW@20
ChangeDisplaySettingsW@8
;ChangeMenuA
;ChangeMenuW
CharLowerA@4
CharLowerBuffA@8
CharLowerBuffW@8
CharLowerW@4
CharNextA@4
CharNextExA@12
CharNextW@4
CharPrevA@8
CharPrevExA@16
CharPrevW@8
CharToOemA@8
CharToOemBuffA@12
CharToOemBuffW@12
CharToOemW@8
CharUpperA@4
CharUpperBuffA@8
CharUpperBuffW@8
CharUpperW@4
CheckDlgButton@12
CheckMenuItem@12
CheckMenuRadioItem@20
CheckRadioButton@16
ChildWindowFromPoint@12
ChildWindowFromPointEx@16
;CliImmSetHotKey
;ClientThreadSetup
ClientToScreen@8
ClipCursor@4
CloseClipboard@0
CloseDesktop@4
CloseWindow@4
CloseWindowStation@4
CopyAcceleratorTableA@12
CopyAcceleratorTableW@12
CopyIcon@4
CopyImage@20
CopyRect@8
CountClipboardFormats@0
CreateAcceleratorTableA@8
CreateAcceleratorTableW@8
CreateCaret@16
CreateCursor@28
CreateDesktopA@24
CreateDesktopW@24
CreateDialogIndirectParamA@20
CreateDialogIndirectParamAorW@20
CreateDialogIndirectParamW@20
CreateDialogParamA@20
CreateDialogParamW@20
CreateIcon@28
CreateIconFromResource@16
CreateIconFromResourceEx@28
CreateIconIndirect@4
CreateMDIWindowA@40
CreateMDIWindowW@40
CreateMenu@0
CreatePopupMenu@0
CreateWindowExA@48
CreateWindowExW@48
CreateWindowStationA@16
CreateWindowStationW@16
;CtxInitUser32
DdeAbandonTransaction@12
DdeAccessData@8
DdeAddData@16
DdeClientTransaction@32
DdeCmpStringHandles@8
DdeConnect@16
DdeConnectList@20
DdeCreateDataHandle@28
DdeCreateStringHandleA@12
DdeCreateStringHandleW@12
DdeDisconnect@4
DdeDisconnectList@4
DdeEnableCallback@12
DdeFreeDataHandle@4
;DdeFreeStringHandle@8
DdeGetData@16
DdeGetLastError@4
;DdeGetQualityOfService
DdeImpersonateClient@4
DdeInitializeA@16
DdeInitializeW@16
DdeKeepStringHandle@8
DdeNameService@16
DdePostAdvise@12
DdeQueryConvInfo@12
DdeQueryNextServer@8
DdeQueryStringA@20
DdeQueryStringW@20
DdeReconnect@4
DdeSetQualityOfService@12
DdeSetUserHandle@12
DdeUnaccessData@4
DdeUninitialize@4
DefDlgProcA@16
DefDlgProcW@16
DefFrameProcA@20
DefFrameProcW@20
DefMDIChildProcA@16
DefMDIChildProcW@16
DefWindowProcA@16
DefWindowProcW@16
DeferWindowPos@32
DeleteMenu@12
;DeregisterShellHookWindow
DestroyAcceleratorTable@4
DestroyCaret@0
DestroyCursor@4
DestroyIcon@4
DestroyMenu@4
DestroyWindow@4
;DeviceEventWorker
DialogBoxIndirectParamA@20
DialogBoxIndirectParamAorW@20
DialogBoxIndirectParamW@20
DialogBoxParamA@20
DialogBoxParamW@20
DispatchMessageA@4
DispatchMessageW@4
DlgDirListA@20
DlgDirListComboBoxA@20
DlgDirListComboBoxW@20
DlgDirListW@20
DlgDirSelectComboBoxExA@16
DlgDirSelectComboBoxExW@16
DlgDirSelectExA@16
DlgDirSelectExW@16
DragDetect@12
;DragObject
DrawAnimatedRects@16
DrawCaption@16
;DrawCaptionTempA
;DrawCaptionTempW
DrawEdge@16
DrawFocusRect@8
;DrawFrame
;DrawFrameControl
DrawIcon@16
DrawIconEx@36
DrawMenuBar@4
;DrawMenuBarTemp
DrawStateA@40
DrawStateW@40
DrawTextA@20
DrawTextExA@24
DrawTextExW@24
DrawTextW@20
;EditWndProc
EmptyClipboard@0
EnableMenuItem@12
EnableScrollBar@12
EnableWindow@8
EndDeferWindowPos@4
EndDialog@8
EndMenu@0
EndPaint@8
;EndTask
EnumChildWindows@12
EnumClipboardFormats@4
EnumDesktopWindows@12
EnumDesktopsA@12
EnumDesktopsW@12
EnumDisplayDevicesA@16
EnumDisplayDevicesW@16
EnumDisplayMonitors@16
EnumDisplaySettingsA@12
EnumDisplaySettingsExA@16
EnumDisplaySettingsExW@16
EnumDisplaySettingsW@12
EnumPropsA@8
EnumPropsExA@12
EnumPropsExW@12
EnumPropsW@8
EnumThreadWindows@12
EnumWindowStationsA@8
EnumWindowStationsW@8
EnumWindows@8
EqualRect@8
ExcludeUpdateRgn@8
ExitWindowsEx@8
FillRect@12
FindWindowA@8
FindWindowExA@16
FindWindowExW@16
FindWindowW@8
FlashWindow@8
FlashWindowEx@4
FrameRect@12
FreeDDElParam@8
GetActiveWindow@0
GetAltTabInfo@20
GetAltTabInfoA@20
GetAltTabInfoW@20
GetAncestor@8
;GetAppCompatFlags
;GetAppCompatFlags2
GetAsyncKeyState@4
GetCapture@0
GetCaretBlinkTime@0
GetCaretPos@4
GetClassInfoA@12
GetClassInfoExA@12
GetClassInfoExW@12
GetClassInfoW@12
GetClassLongA@8
GetClassLongW@8
GetClassNameA@12
GetClassNameW@12
GetClassWord@8
GetClientRect@8
GetClipCursor@4
GetClipboardData@4
GetClipboardFormatNameA@12
GetClipboardFormatNameW@12
GetClipboardOwner@0
GetClipboardSequenceNumber@0
GetClipboardViewer@0
GetComboBoxInfo@8
GetCursor@0
;GetCursorFrameInfo
GetCursorInfo@4
GetCursorPos@4
GetDC@4
GetDCEx@12
GetDesktopWindow@0
GetDialogBaseUnits@0
GetDlgCtrlID@4
GetDlgItem@8
GetDlgItemInt@16
GetDlgItemTextA@16
GetDlgItemTextW@16
GetDoubleClickTime@0
GetFocus@0
GetForegroundWindow@0
GetGUIThreadInfo@8
GetGuiResources@8
GetIconInfo@8
;GetInputDesktop
GetInputState@0
;GetInternalWindowPos
GetKBCodePage@0
GetKeyNameTextA@12
GetKeyNameTextW@12
GetKeyState@4
GetKeyboardLayout@4
GetKeyboardLayoutList@8
GetKeyboardLayoutNameA@4
GetKeyboardLayoutNameW@4
GetKeyboardState@4
GetKeyboardType@4
GetLastActivePopup@4
GetLastInputInfo@4
GetListBoxInfo@4
GetMenu@4
GetMenuBarInfo@16
GetMenuCheckMarkDimensions@0
;GetMenuContextHelpId
GetMenuDefaultItem@12
GetMenuInfo@8
GetMenuItemCount@4
GetMenuItemID@8
GetMenuItemInfoA@16
GetMenuItemInfoW@16
GetMenuItemRect@16
GetMenuState@12
GetMenuStringA@20
GetMenuStringW@20
GetMessageA@16
GetMessageExtraInfo@0
GetMessagePos@0
GetMessageTime@0
GetMessageW@16
GetMonitorInfoA@8
GetMonitorInfoW@8
GetMouseMovePointsEx@20
GetNextDlgGroupItem@12
GetNextDlgTabItem@12
GetOpenClipboardWindow@0
GetParent@4
GetPriorityClipboardFormat@8
GetProcessDefaultLayout@4
GetProcessWindowStation@0
;GetProgmanWindow
GetPropA@8
GetPropW@8
GetQueueStatus@4
GetScrollBarInfo@12
GetScrollInfo@12
GetScrollPos@8
GetScrollRange@16
;GetShellWindow
GetSubMenu@8
GetSysColor@4
GetSysColorBrush@4
GetSystemMenu@8
GetSystemMetrics@4
GetTabbedTextExtentA@20
GetTabbedTextExtentW@20
;GetTaskmanWindow
GetThreadDesktop@4
GetTitleBarInfo@8
GetTopWindow@4
GetUpdateRect@12
GetUpdateRgn@12
GetUserObjectInformationA@20
GetUserObjectInformationW@20
;GetUserObjectSecurity
;GetWinStationInfo
GetWindow@8
;GetWindowContextHelpId
GetWindowDC@4
GetWindowInfo@8
GetWindowLongA@8
GetWindowLongW@8
GetWindowModuleFileName@12
GetWindowModuleFileNameA@12
GetWindowModuleFileNameW@12
GetWindowPlacement@8
GetWindowRect@8
GetWindowRgn@8
GetWindowTextA@12
GetWindowTextLengthA@4
GetWindowTextLengthW@4
GetWindowTextW@12
GetWindowThreadProcessId@8
;GetWindowWord
GrayStringA@36
GrayStringW@36
HideCaret@4
HiliteMenuItem@16
;IMPGetIMEA
;IMPGetIMEW
;IMPQueryIMEA
;IMPQueryIMEW
;IMPSetIMEA
;IMPSetIMEW
ImpersonateDdeClientWindow@8
InSendMessage@0
InSendMessageEx@4
InflateRect@12
;InitializeLpkHooks
;InitializeWin32EntryTable
InsertMenuA@20
InsertMenuItemA@16
InsertMenuItemW@16
InsertMenuW@20
;InternalGetWindowText
IntersectRect@12
InvalidateRect@12
InvalidateRgn@12
InvertRect@8
IsCharAlphaA@4
IsCharAlphaNumericA@4
IsCharAlphaNumericW@4
IsCharAlphaW@4
IsCharLowerA@4
IsCharLowerW@4
IsCharUpperA@4
IsCharUpperW@4
IsChild@8
IsClipboardFormatAvailable@4
;IsDialogMessage@8
IsDialogMessageA@8
IsDialogMessageW@8
IsDlgButtonChecked@8
;IsHungAppWindow
IsIconic@4
IsMenu@4
IsRectEmpty@4
IsWindow@4
IsWindowEnabled@4
IsWindowUnicode@4
IsWindowVisible@4
IsZoomed@4
;KillSystemTimer
KillTimer@8
LoadAcceleratorsA@8
LoadAcceleratorsW@8
LoadBitmapA@8
LoadBitmapW@8
LoadCursorA@8
LoadCursorFromFileA@4
LoadCursorFromFileW@4
LoadCursorW@8
LoadIconA@8
LoadIconW@8
LoadImageA@24
LoadImageW@24
LoadKeyboardLayoutA@8
;LoadKeyboardLayoutEx
LoadKeyboardLayoutW@8
;LoadLocalFonts
LoadMenuA@8
LoadMenuIndirectA@4
LoadMenuIndirectW@4
LoadMenuW@8
;LoadRemoteFonts
LoadStringA@16
LoadStringW@16
LockSetForegroundWindow@4
;LockWindowStation
LockWindowUpdate@4
LockWorkStation@0
LookupIconIdFromDirectory@8
LookupIconIdFromDirectoryEx@20
;MBToWCSEx
;MB_GetString
MapDialogRect@8
MapVirtualKeyA@8
MapVirtualKeyExA@12
MapVirtualKeyExW@12
MapVirtualKeyW@8
MapWindowPoints@16
MenuItemFromPoint@16
;MenuWindowProcA
;MenuWindowProcW
MessageBeep@4
MessageBoxA@16
MessageBoxExA@20
MessageBoxExW@20
MessageBoxIndirectA@4
MessageBoxIndirectW@4
MessageBoxW@16
ModifyMenuA@20
ModifyMenuW@20
MonitorFromPoint@12
MonitorFromRect@8
MonitorFromWindow@8
MoveWindow@24
MsgWaitForMultipleObjects@20
MsgWaitForMultipleObjectsEx@20
;NotifyWinEvent
OemKeyScan@4
OemToCharA@8
OemToCharBuffA@12
OemToCharBuffW@12
OemToCharW@8
OffsetRect@12
OpenClipboard@4
OpenDesktopA@16
OpenDesktopW@16
OpenIcon@4
OpenInputDesktop@12
OpenWindowStationA@12
OpenWindowStationW@12
PackDDElParam@12
PaintDesktop@4
PeekMessageA@20
PeekMessageW@20
PostMessageA@16
PostMessageW@16
PostQuitMessage@4
PostThreadMessageA@16
PostThreadMessageW@16
;PrivateExtractIconExA
;PrivateExtractIconExW
;PrivateExtractIconsA
;PrivateExtractIconsW
;PrivateSetDbgTag
;PrivateSetRipFlags
PtInRect@12
;QuerySendMessage
;QueryUserCounters
RealChildWindowFromPoint@12
RealGetWindowClass@12
RealGetWindowClassA@12
RealGetWindowClassW@12
RedrawWindow@16
RegisterClassA@4
RegisterClassExA@4
RegisterClassExW@4
RegisterClassW@4
RegisterClipboardFormatA@4
RegisterClipboardFormatW@4
;RegisterDeviceNotificationA@12
;RegisterDeviceNotificationW@12
RegisterHotKey@16
;RegisterLogonProcess
;RegisterServicesProcess
;RegisterShellHookWindow
;RegisterSystemThread
;RegisterTasklist
RegisterWindowMessageA@4
RegisterWindowMessageW@4
ReleaseCapture@0
ReleaseDC@8
RemoveMenu@12
RemovePropA@8
RemovePropW@8
ReplyMessage@4
;ResolveDesktopForWOW
ReuseDDElParam@20
;ScreenToClient
;ScrollChildren
ScrollDC@28
ScrollWindow@20
ScrollWindowEx@32
SendDlgItemMessageA@20
SendDlgItemMessageW@20
;SendIMEMessageExA
;SendIMEMessageExW
SendInput@12
SendMessageA@16
SendMessageCallbackA@24
SendMessageCallbackW@24
SendMessageTimeoutA@28
SendMessageTimeoutW@28
SendMessageW@16
SendNotifyMessageA@16
SendNotifyMessageW@16
SetActiveWindow@4
SetCapture@4
SetCaretBlinkTime@4
SetCaretPos@8
SetClassLongA@12
SetClassLongW@12
SetClassWord@12
SetClipboardData@8
SetClipboardViewer@4
;SetConsoleReserveKeys
SetCursor@4
;SetCursorContents
SetCursorPos@8
;SetDebugErrorLevel
;SetDeskWallpaper
SetDlgItemInt@16
SetDlgItemTextA@12
SetDlgItemTextW@12
SetDoubleClickTime@4
SetFocus@4
SetForegroundWindow@4
;SetInternalWindowPos
SetKeyboardState@4
SetLastErrorEx@8
SetLayeredWindowAttributes@16
;SetLogonNotifyWindow
SetMenu@8
;SetMenuContextHelpId
SetMenuDefaultItem@12
SetMenuInfo@8
SetMenuItemBitmaps@20
SetMenuItemInfoA@16
SetMenuItemInfoW@16
SetMessageExtraInfo@4
;SetMessageQueue
SetParent@8
SetProcessDefaultLayout@4
SetProcessWindowStation@4
;SetProgmanWindow
SetPropA@12
SetPropW@12
SetRect@20
SetRectEmpty@4
SetScrollInfo@16
SetScrollPos@16
SetScrollRange@20
;SetShellWindow
;SetShellWindowEx
SetSysColors@12
;SetSysColorsTemp
SetSystemCursor@8
;SetSystemMenu
;SetSystemTimer
;SetTaskmanWindow
SetThreadDesktop@4
SetTimer@16
SetUserObjectInformationA@16
SetUserObjectInformationW@16
;SetUserObjectSecurity
;SetWinEventHook
;SetWindowContextHelpId
SetWindowLongA@12
SetWindowLongW@12
SetWindowPlacement@8
SetWindowPos@28
SetWindowRgn@12
;SetWindowStationUser
SetWindowTextA@8
SetWindowTextW@8
;SetWindowWord
;SetWindowsHookA
;SetWindowsHookExA
;SetWindowsHookExW
;SetWindowsHookW
ShowCaret@4
ShowCursor@4
ShowOwnedPopups@8
ShowScrollBar@12
;ShowStartGlass
ShowWindow@8
ShowWindowAsync@8
;SoftModalMessageBox
SubtractRect@12
SwapMouseButton@4
SwitchDesktop@4
;SwitchToThisWindow
SystemParametersInfoA@16
SystemParametersInfoW@16
TabbedTextOutA@32
TabbedTextOutW@32
;TileChildWindows
TileWindows@20
ToAscii@20
ToAsciiEx@24
ToUnicode@24
ToUnicodeEx@28
TrackMouseEvent@4
TrackPopupMenu@28
TrackPopupMenuEx@24
;TranslateAccelerator@12
TranslateAcceleratorA@12
TranslateAcceleratorW@12
TranslateMDISysAccel@8
TranslateMessage@4
;TranslateMessageEx
;UnhookWinEvent
;UnhookWindowsHook
UnhookWindowsHookEx@4
UnionRect@12
UnloadKeyboardLayout@4
;UnlockWindowStation
UnpackDDElParam@16
UnregisterClassA@8
UnregisterClassW@8
UnregisterDeviceNotification@4
UnregisterHotKey@8
UpdateLayeredWindow@36
;UpdatePerUserSystemParameters
UpdateWindow@4
;User32InitializeImmEntryTable
;UserClientDllInitialize
UserHandleGrantAccess@12
;UserLpkPSMTextOut
;UserLpkTabbedTextOut
;UserRealizePalette
;UserRegisterWowHandlers
;VRipOutput
;VTagOutput
ValidateRect@8
ValidateRgn@8
VkKeyScanA@4
VkKeyScanExA@8
VkKeyScanExW@8
VkKeyScanW@4
;WCSToMBEx
;WINNLSEnableIME
;WINNLSGetEnableStatus
;WINNLSGetIMEHotkey
WaitForInputIdle@8
WaitMessage@0
;Win32PoolAllocationStats
;WinHelpA
;WinHelpW
WindowFromDC@4
WindowFromPoint@8
;keybd_event
;mouse_event
wsprintfA
wsprintfW
wvsprintfA
wvsprintfW
wvsprintfA@12
wvsprintfW@12
; EOF

View file

@ -1,16 +1,39 @@
LIBRARY user32.dll
EXPORTS
ActivateKeyboardLayout=ActivateKeyboardLayout@8
AdjustWindowRect=AdjustWindowRect@12
AdjustWindowRectEx=AdjustWindowRectEx@16
;AlignRects
AllowSetForegroundWindow=AllowSetForegroundWindow@4
AnimateWindow=AnimateWindow@12
AnyPopup=AnyPopup@0
AppendMenuA=AppendMenuA@16
AppendMenuW=AppendMenuW@16
ArrangeIconicWindows=ArrangeIconicWindows@4
AttachThreadInput=AttachThreadInput@12
BeginDeferWindowPos=BeginDeferWindowPos@4
CalcChildScroll=CalcChildScroll@8
CallMsgFilter=CallMsgFilter@8
CascadeChildWindows=CascadeChildWindows@8
BeginPaint=BeginPaint@8
BlockInput=BlockInput@4
BringWindowToTop=BringWindowToTop@4
BroadcastSystemMessage=BroadcastSystemMessage@20
BroadcastSystemMessageA=BroadcastSystemMessageA@20
BroadcastSystemMessageW=BroadcastSystemMessageW@20
;CallMsgFilter@8
CallMsgFilterA=CallMsgFilterA@8
CallMsgFilterW=CallMsgFilterW@8
CallNextHookEx=CallNextHookEx@16
CallWindowProcA=CallWindowProcA@20
CallWindowProcW=CallWindowProcW@20
;CascadeChildWindows
CascadeWindows=CascadeWindows@20
ChangeClipboardChain=ChangeClipboardChain@8
ChangeDisplaySettingsA=ChangeDisplaySettingsA@8
ChangeDisplaySettingsExA=ChangeDisplaySettingsExA@20
ChangeDisplaySettingsExW=ChangeDisplaySettingsExW@20
ChangeDisplaySettingsW=ChangeDisplaySettingsW@8
;ChangeMenuA
;ChangeMenuW
CharLowerA=CharLowerA@4
CharLowerBuffA=CharLowerBuffA@8
CharLowerBuffW=CharLowerBuffW@8
@ -29,22 +52,50 @@ CharUpperA=CharUpperA@4
CharUpperBuffA=CharUpperBuffA@8
CharUpperBuffW=CharUpperBuffW@8
CharUpperW=CharUpperW@4
CheckDlgButton=CheckDlgButton@12
CheckMenuItem=CheckMenuItem@12
CheckMenuRadioItem=CheckMenuRadioItem@20
CheckRadioButton=CheckRadioButton@16
ChildWindowFromPoint=ChildWindowFromPoint@12
ChildWindowFromPointEx=ChildWindowFromPointEx@16
;CliImmSetHotKey
;ClientThreadSetup
ClientToScreen=ClientToScreen@8
ClipCursor=ClipCursor@4
CloseClipboard=CloseClipboard@0
CloseDesktop=CloseDesktop@4
CloseWindow=CloseWindow@4
CloseWindowStation=CloseWindowStation@4
CopyAcceleratorTableA=CopyAcceleratorTableA@12
CopyAcceleratorTableW=CopyAcceleratorTableW@12
CopyIcon=CopyIcon@4
CopyImage=CopyImage@20
CopyRect=CopyRect@8
CountClipboardFormats=CountClipboardFormats@0
CreateAcceleratorTableA=CreateAcceleratorTableA@8
CreateAcceleratorTableW=CreateAcceleratorTableW@8
CreateCaret=CreateCaret@16
CreateCursor=CreateCursor@28
CreateDesktopA=CreateDesktopA@24
CreateDesktopW=CreateDesktopW@24
CreateDialogIndirectParamA=CreateDialogIndirectParamA@20
CreateDialogIndirectParamAorW=CreateDialogIndirectParamAorW@20
CreateDialogIndirectParamW=CreateDialogIndirectParamW@20
CreateDialogParamA=CreateDialogParamA@20
CreateDialogParamW=CreateDialogParamW@20
CreateIcon=CreateIcon@28
CreateIconFromResource=CreateIconFromResource@16
CreateIconFromResourceEx=CreateIconFromResourceEx@28
CreateIconIndirect=CreateIconIndirect@4
CreateMDIWindowA=CreateMDIWindowA@40
CreateMDIWindowW=CreateMDIWindowW@40
CreateMenu=CreateMenu@0
CreatePopupMenu=CreatePopupMenu@0
CreateWindowExA=CreateWindowExA@48
CreateWindowExW=CreateWindowExW@48
CreateWindowStationA=CreateWindowStationA@16
CreateWindowStationW=CreateWindowStationW@16
;CtxInitUser32
DdeAbandonTransaction=DdeAbandonTransaction@12
DdeAccessData=DdeAccessData@8
DdeAddData=DdeAddData@16
@ -59,10 +110,10 @@ DdeDisconnect=DdeDisconnect@4
DdeDisconnectList=DdeDisconnectList@4
DdeEnableCallback=DdeEnableCallback@12
DdeFreeDataHandle=DdeFreeDataHandle@4
DdeFreeStringHandle=DdeFreeStringHandle@8
;DdeFreeStringHandle@8
DdeGetData=DdeGetData@16
DdeGetLastError=DdeGetLastError@4
DdeGetQualityOfService=DdeGetQualityOfService@12
;DdeGetQualityOfService
DdeImpersonateClient=DdeImpersonateClient@4
DdeInitializeA=DdeInitializeA@16
DdeInitializeW=DdeInitializeW@16
@ -78,7 +129,31 @@ DdeSetQualityOfService=DdeSetQualityOfService@12
DdeSetUserHandle=DdeSetUserHandle@12
DdeUnaccessData=DdeUnaccessData@4
DdeUninitialize=DdeUninitialize@4
DefDlgProcA=DefDlgProcA@16
DefDlgProcW=DefDlgProcW@16
DefFrameProcA=DefFrameProcA@20
DefFrameProcW=DefFrameProcW@20
DefMDIChildProcA=DefMDIChildProcA@16
DefMDIChildProcW=DefMDIChildProcW@16
DefWindowProcA=DefWindowProcA@16
DefWindowProcW=DefWindowProcW@16
DeferWindowPos=DeferWindowPos@32
DeleteMenu=DeleteMenu@12
;DeregisterShellHookWindow
DestroyAcceleratorTable=DestroyAcceleratorTable@4
DestroyCaret=DestroyCaret@0
DestroyCursor=DestroyCursor@4
DestroyIcon=DestroyIcon@4
DestroyMenu=DestroyMenu@4
DestroyWindow=DestroyWindow@4
;DeviceEventWorker
DialogBoxIndirectParamA=DialogBoxIndirectParamA@20
DialogBoxIndirectParamAorW=DialogBoxIndirectParamAorW@20
DialogBoxIndirectParamW=DialogBoxIndirectParamW@20
DialogBoxParamA=DialogBoxParamA@20
DialogBoxParamW=DialogBoxParamW@20
DispatchMessageA=DispatchMessageA@4
DispatchMessageW=DispatchMessageW@4
DlgDirListA=DlgDirListA@20
DlgDirListComboBoxA=DlgDirListComboBoxA@20
DlgDirListComboBoxW=DlgDirListComboBoxW@20
@ -88,55 +163,229 @@ DlgDirSelectComboBoxExW=DlgDirSelectComboBoxExW@16
DlgDirSelectExA=DlgDirSelectExA@16
DlgDirSelectExW=DlgDirSelectExW@16
DragDetect=DragDetect@12
DragObject=DragObject@20
;DragObject
DrawAnimatedRects=DrawAnimatedRects@16
DrawCaption=DrawCaption@16
DrawFrame=DrawFrame@16
DrawFrameControl=DrawFrameControl@16
;DrawCaptionTempA
;DrawCaptionTempW
DrawEdge=DrawEdge@16
DrawFocusRect=DrawFocusRect@8
;DrawFrame
;DrawFrameControl
DrawIcon=DrawIcon@16
DrawIconEx=DrawIconEx@36
DrawMenuBar=DrawMenuBar@4
;DrawMenuBarTemp
DrawStateA=DrawStateA@40
DrawStateW=DrawStateW@40
DrawTextA=DrawTextA@20
DrawTextExA=DrawTextExA@24
DrawTextExW=DrawTextExW@24
DrawTextW=DrawTextW@20
;EditWndProc
EmptyClipboard=EmptyClipboard@0
EnableMenuItem=EnableMenuItem@12
EnableScrollBar=EnableScrollBar@12
EnableWindow=EnableWindow@8
EndDeferWindowPos=EndDeferWindowPos@4
EndDialog=EndDialog@8
EndMenu=EndMenu@0
EndPaint=EndPaint@8
;EndTask
EnumChildWindows=EnumChildWindows@12
EnumClipboardFormats=EnumClipboardFormats@4
EnumDesktopWindows=EnumDesktopWindows@12
EnumDesktopsA=EnumDesktopsA@12
EnumDesktopsW=EnumDesktopsW@12
EnumDisplayDevicesA=EnumDisplayDevicesA@16
EnumDisplayDevicesW=EnumDisplayDevicesW@16
EnumDisplayMonitors=EnumDisplayMonitors@16
EnumDisplaySettingsA=EnumDisplaySettingsA@12
EnumDisplaySettingsExA=EnumDisplaySettingsExA@16
EnumDisplaySettingsExW=EnumDisplaySettingsExW@16
EnumDisplaySettingsW=EnumDisplaySettingsW@12
EnumPropsA=EnumPropsA@8
EnumPropsExA=EnumPropsExA@12
EnumPropsExW=EnumPropsExW@12
EnumPropsW=EnumPropsW@8
EnumThreadWindows=EnumThreadWindows@12
EnumWindowStationsA=EnumWindowStationsA@8
EnumWindowStationsW=EnumWindowStationsW@8
EnumWindows=EnumWindows@8
EqualRect=EqualRect@8
ExcludeUpdateRgn=ExcludeUpdateRgn@8
ExitWindowsEx=ExitWindowsEx@8
FillRect=FillRect@12
FindWindowA=FindWindowA@8
FindWindowExA=FindWindowExA@16
FindWindowExW=FindWindowExW@16
FindWindowW=FindWindowW@8
FlashWindow=FlashWindow@8
FlashWindowEx=FlashWindowEx@4
FrameRect=FrameRect@12
FreeDDElParam=FreeDDElParam@8
GetActiveWindow=GetActiveWindow@0
GetAltTabInfo=GetAltTabInfo@20
GetAltTabInfoA=GetAltTabInfoA@20
GetAltTabInfoW=GetAltTabInfoW@20
GetAncestor=GetAncestor@8
;GetAppCompatFlags
;GetAppCompatFlags2
GetAsyncKeyState=GetAsyncKeyState@4
GetCapture=GetCapture@0
GetCaretBlinkTime=GetCaretBlinkTime@0
GetCaretPos=GetCaretPos@4
GetClassInfoA=GetClassInfoA@12
GetClassInfoExA=GetClassInfoExA@12
GetClassInfoExW=GetClassInfoExW@12
GetClassInfoW=GetClassInfoW@12
GetClassLongA=GetClassLongA@8
GetClassLongW=GetClassLongW@8
GetClassNameA=GetClassNameA@12
GetClassNameW=GetClassNameW@12
GetClassWord=GetClassWord@8
GetClientRect=GetClientRect@8
GetClipCursor=GetClipCursor@4
GetClipboardData=GetClipboardData@4
GetClipboardFormatNameA=GetClipboardFormatNameA@12
GetClipboardFormatNameW=GetClipboardFormatNameW@12
GetClipboardOwner=GetClipboardOwner@0
GetClipboardSequenceNumber=GetClipboardSequenceNumber@0
GetClipboardViewer=GetClipboardViewer@0
GetComboBoxInfo=GetComboBoxInfo@8
GetCursor=GetCursor@0
;GetCursorFrameInfo
GetCursorInfo=GetCursorInfo@4
GetCursorPos=GetCursorPos@4
GetDC=GetDC@4
GetDCEx=GetDCEx@12
GetDesktopWindow=GetDesktopWindow@0
GetDialogBaseUnits=GetDialogBaseUnits@0
GetDlgCtrlID=GetDlgCtrlID@4
GetDlgItem=GetDlgItem@8
GetDlgItemInt=GetDlgItemInt@16
GetDlgItemTextA=GetDlgItemTextA@16
GetDlgItemTextW=GetDlgItemTextW@16
GetDoubleClickTime=GetDoubleClickTime@0
GetFocus=GetFocus@0
GetForegroundWindow=GetForegroundWindow@0
GetInputDesktop=GetInputDesktop@0
GetGUIThreadInfo=GetGUIThreadInfo@8
GetGuiResources=GetGuiResources@8
GetIconInfo=GetIconInfo@8
;GetInputDesktop
GetInputState=GetInputState@0
;GetInternalWindowPos
GetKBCodePage=GetKBCodePage@0
GetKeyNameTextA=GetKeyNameTextA@12
GetKeyNameTextW=GetKeyNameTextW@12
GetKeyState=GetKeyState@4
GetKeyboardLayout=GetKeyboardLayout@4
GetKeyboardLayoutList=GetKeyboardLayoutList@8
GetKeyboardLayoutNameA=GetKeyboardLayoutNameA@4
GetKeyboardLayoutNameW=GetKeyboardLayoutNameW@4
GetKeyboardState=GetKeyboardState@4
GetKeyboardType=GetKeyboardType@4
GetLastActivePopup=GetLastActivePopup@4
GetLastInputInfo=GetLastInputInfo@4
GetListBoxInfo=GetListBoxInfo@4
GetMenu=GetMenu@4
GetMenuBarInfo=GetMenuBarInfo@16
GetMenuCheckMarkDimensions=GetMenuCheckMarkDimensions@0
;GetMenuContextHelpId
GetMenuDefaultItem=GetMenuDefaultItem@12
GetMenuInfo=GetMenuInfo@8
GetMenuItemCount=GetMenuItemCount@4
GetMenuItemID=GetMenuItemID@8
GetMenuItemInfoA=GetMenuItemInfoA@16
GetMenuItemInfoW=GetMenuItemInfoW@16
GetMenuItemRect=GetMenuItemRect@16
GetMenuState=GetMenuState@12
GetMenuStringA=GetMenuStringA@20
GetMenuStringW=GetMenuStringW@20
GetMessageA=GetMessageA@16
GetMessageExtraInfo=GetMessageExtraInfo@0
GetMessagePos=GetMessagePos@0
GetMessageTime=GetMessageTime@0
GetMessageW=GetMessageW@16
GetMonitorInfoA=GetMonitorInfoA@8
GetMonitorInfoW=GetMonitorInfoW@8
GetMouseMovePointsEx=GetMouseMovePointsEx@20
GetNextDlgGroupItem=GetNextDlgGroupItem@12
GetNextDlgTabItem=GetNextDlgTabItem@12
GetOpenClipboardWindow=GetOpenClipboardWindow@0
GetParent=GetParent@4
GetPriorityClipboardFormat=GetPriorityClipboardFormat@8
GetProcessDefaultLayout=GetProcessDefaultLayout@4
GetProcessWindowStation=GetProcessWindowStation@0
GetShellWindow=GetShellWindow@0
;GetProgmanWindow
GetPropA=GetPropA@8
GetPropW=GetPropW@8
GetQueueStatus=GetQueueStatus@4
GetScrollBarInfo=GetScrollBarInfo@12
GetScrollInfo=GetScrollInfo@12
GetScrollPos=GetScrollPos@8
GetScrollRange=GetScrollRange@16
;GetShellWindow
GetSubMenu=GetSubMenu@8
GetSysColor=GetSysColor@4
GetSysColorBrush=GetSysColorBrush@4
GetSystemMenu=GetSystemMenu@8
GetSystemMetrics=GetSystemMetrics@4
GetTabbedTextExtentA=GetTabbedTextExtentA@20
GetTabbedTextExtentW=GetTabbedTextExtentW@20
;GetTaskmanWindow
GetThreadDesktop=GetThreadDesktop@4
GetTitleBarInfo=GetTitleBarInfo@8
GetTopWindow=GetTopWindow@4
GetUpdateRect=GetUpdateRect@12
GetUpdateRgn=GetUpdateRgn@12
GetUserObjectInformationA=GetUserObjectInformationA@20
GetUserObjectInformationW=GetUserObjectInformationW@20
GetUserObjectSecurity=GetUserObjectSecurity@20
;GetUserObjectSecurity
;GetWinStationInfo
GetWindow=GetWindow@8
;GetWindowContextHelpId
GetWindowDC=GetWindowDC@4
GetWindowInfo=GetWindowInfo@8
GetWindowLongA=GetWindowLongA@8
GetWindowLongW=GetWindowLongW@8
GetWindowModuleFileName=GetWindowModuleFileName@12
GetWindowModuleFileNameA=GetWindowModuleFileNameA@12
GetWindowModuleFileNameW=GetWindowModuleFileNameW@12
GetWindowPlacement=GetWindowPlacement@8
GetWindowRect=GetWindowRect@8
GetWindowRgn=GetWindowRgn@8
GetWindowTextA=GetWindowTextA@12
GetWindowTextLengthA=GetWindowTextLengthA@4
GetWindowTextLengthW=GetWindowTextLengthW@4
GetWindowTextW=GetWindowTextW@12
GetWindowThreadProcessId=GetWindowThreadProcessId@8
;GetWindowWord
GrayStringA=GrayStringA@36
GrayStringW=GrayStringW@36
HideCaret=HideCaret@4
HiliteMenuItem=HiliteMenuItem@16
;IMPGetIMEA
;IMPGetIMEW
;IMPQueryIMEA
;IMPQueryIMEW
;IMPSetIMEA
;IMPSetIMEW
ImpersonateDdeClientWindow=ImpersonateDdeClientWindow@8
InSendMessage=InSendMessage@0
InSendMessageEx=InSendMessageEx@4
InflateRect=InflateRect@12
;InitializeLpkHooks
;InitializeWin32EntryTable
InsertMenuA=InsertMenuA@20
InsertMenuItemA=InsertMenuItemA@16
InsertMenuItemW=InsertMenuItemW@16
InsertMenuW=InsertMenuW@20
;InternalGetWindowText
IntersectRect=IntersectRect@12
InvalidateRect=InvalidateRect@12
InvalidateRgn=InvalidateRgn@12
InvertRect=InvertRect@8
IsCharAlphaA=IsCharAlphaA@4
IsCharAlphaNumericA=IsCharAlphaNumericA@4
IsCharAlphaNumericW=IsCharAlphaNumericW@4
@ -145,31 +394,86 @@ IsCharLowerA=IsCharLowerA@4
IsCharLowerW=IsCharLowerW@4
IsCharUpperA=IsCharUpperA@4
IsCharUpperW=IsCharUpperW@4
IsDialogMessage=IsDialogMessage@8
KillSystemTimer=KillSystemTimer@8
IsChild=IsChild@8
IsClipboardFormatAvailable=IsClipboardFormatAvailable@4
;IsDialogMessage@8
IsDialogMessageA=IsDialogMessageA@8
IsDialogMessageW=IsDialogMessageW@8
IsDlgButtonChecked=IsDlgButtonChecked@8
;IsHungAppWindow
IsIconic=IsIconic@4
IsMenu=IsMenu@4
IsRectEmpty=IsRectEmpty@4
IsWindow=IsWindow@4
IsWindowEnabled=IsWindowEnabled@4
IsWindowUnicode=IsWindowUnicode@4
IsWindowVisible=IsWindowVisible@4
IsZoomed=IsZoomed@4
;KillSystemTimer
KillTimer=KillTimer@8
LoadAcceleratorsA=LoadAcceleratorsA@8
LoadAcceleratorsW=LoadAcceleratorsW@8
LoadBitmapA=LoadBitmapA@8
LoadBitmapW=LoadBitmapW@8
LoadCursorA=LoadCursorA@8
LoadCursorFromFileA=LoadCursorFromFileA@4
LoadCursorFromFileW=LoadCursorFromFileW@4
LoadCursorW=LoadCursorW@8
LoadIconA=LoadIconA@8
LoadIconW=LoadIconW@8
LoadImageA=LoadImageA@24
LoadImageW=LoadImageW@24
LoadKeyboardLayoutA=LoadKeyboardLayoutA@8
;LoadKeyboardLayoutEx
LoadKeyboardLayoutW=LoadKeyboardLayoutW@8
;LoadLocalFonts
LoadMenuA=LoadMenuA@8
LoadMenuIndirectA=LoadMenuIndirectA@4
LoadMenuIndirectW=LoadMenuIndirectW@4
LoadMenuW=LoadMenuW@8
;LoadRemoteFonts
LoadStringA=LoadStringA@16
LoadStringW=LoadStringW@16
LockSetForegroundWindow=LockSetForegroundWindow@4
;LockWindowStation
LockWindowUpdate=LockWindowUpdate@4
LockWorkStation=LockWorkStation@0
LookupIconIdFromDirectory=LookupIconIdFromDirectory@8
LookupIconIdFromDirectoryEx=LookupIconIdFromDirectoryEx@20
;MBToWCSEx
;MB_GetString
MapDialogRect=MapDialogRect@8
MapVirtualKeyA=MapVirtualKeyA@8
MapVirtualKeyExA=MapVirtualKeyExA@12
MapVirtualKeyExW=MapVirtualKeyExW@12
MapVirtualKeyW=MapVirtualKeyW@8
MapWindowPoints=MapWindowPoints@16
MenuItemFromPoint=MenuItemFromPoint@16
;MenuWindowProcA
;MenuWindowProcW
MessageBeep=MessageBeep@4
MessageBoxA=MessageBoxA@16
MessageBoxExA=MessageBoxExA@20
MessageBoxExW=MessageBoxExW@20
MessageBoxIndirectA=MessageBoxIndirectA@4
MessageBoxIndirectW=MessageBoxIndirectW@4
MessageBoxW=MessageBoxW@16
ModifyMenuA=ModifyMenuA@20
ModifyMenuW=ModifyMenuW@20
MonitorFromPoint=MonitorFromPoint@12
MonitorFromRect=MonitorFromRect@8
MonitorFromWindow=MonitorFromWindow@8
MoveWindow=MoveWindow@24
MsgWaitForMultipleObjects=MsgWaitForMultipleObjects@20
MsgWaitForMultipleObjectsEx=MsgWaitForMultipleObjectsEx@20
;NotifyWinEvent
OemKeyScan=OemKeyScan@4
OemToCharA=OemToCharA@8
OemToCharBuffA=OemToCharBuffA@12
OemToCharBuffW=OemToCharBuffW@12
OemToCharW=OemToCharW@8
OffsetRect=OffsetRect@12
OpenClipboard=OpenClipboard@4
OpenDesktopA=OpenDesktopA@16
OpenDesktopW=OpenDesktopW@16
OpenIcon=OpenIcon@4
@ -178,49 +482,219 @@ OpenWindowStationA=OpenWindowStationA@12
OpenWindowStationW=OpenWindowStationW@12
PackDDElParam=PackDDElParam@12
PaintDesktop=PaintDesktop@4
PeekMessageA=PeekMessageA@20
PeekMessageW=PeekMessageW@20
PostMessageA=PostMessageA@16
PostMessageW=PostMessageW@16
PostQuitMessage=PostQuitMessage@4
PostThreadMessageA=PostThreadMessageA@16
PostThreadMessageW=PostThreadMessageW@16
;PrivateExtractIconExA
;PrivateExtractIconExW
;PrivateExtractIconsA
;PrivateExtractIconsW
;PrivateSetDbgTag
;PrivateSetRipFlags
PtInRect=PtInRect@12
;QuerySendMessage
;QueryUserCounters
RealChildWindowFromPoint=RealChildWindowFromPoint@12
RealGetWindowClass=RealGetWindowClass@12
RealGetWindowClassA=RealGetWindowClassA@12
RealGetWindowClassW=RealGetWindowClassW@12
RedrawWindow=RedrawWindow@16
RegisterClassA=RegisterClassA@4
RegisterClassExA=RegisterClassExA@4
RegisterClassExW=RegisterClassExW@4
RegisterClassW=RegisterClassW@4
RegisterClipboardFormatA=RegisterClipboardFormatA@4
RegisterClipboardFormatW=RegisterClipboardFormatW@4
;RegisterDeviceNotificationA@12
;RegisterDeviceNotificationW@12
RegisterHotKey=RegisterHotKey@16
;RegisterLogonProcess
;RegisterServicesProcess
;RegisterShellHookWindow
;RegisterSystemThread
;RegisterTasklist
RegisterWindowMessageA=RegisterWindowMessageA@4
RegisterWindowMessageW=RegisterWindowMessageW@4
ReleaseCapture=ReleaseCapture@0
ReleaseDC=ReleaseDC@8
RemoveMenu=RemoveMenu@12
RemovePropA=RemovePropA@8
RemovePropW=RemovePropW@8
ReplyMessage=ReplyMessage@4
;ResolveDesktopForWOW
ReuseDDElParam=ReuseDDElParam@20
ScrollChildren=ScrollChildren@12
SetDebugErrorLevel=SetDebugErrorLevel@4
SetDeskWallpaper=SetDeskWallpaper@4
;ScreenToClient
;ScrollChildren
ScrollDC=ScrollDC@28
ScrollWindow=ScrollWindow@20
ScrollWindowEx=ScrollWindowEx@32
SendDlgItemMessageA=SendDlgItemMessageA@20
SendDlgItemMessageW=SendDlgItemMessageW@20
;SendIMEMessageExA
;SendIMEMessageExW
SendInput=SendInput@12
SendMessageA=SendMessageA@16
SendMessageCallbackA=SendMessageCallbackA@24
SendMessageCallbackW=SendMessageCallbackW@24
SendMessageTimeoutA=SendMessageTimeoutA@28
SendMessageTimeoutW=SendMessageTimeoutW@28
SendMessageW=SendMessageW@16
SendNotifyMessageA=SendNotifyMessageA@16
SendNotifyMessageW=SendNotifyMessageW@16
SetActiveWindow=SetActiveWindow@4
SetCapture=SetCapture@4
SetCaretBlinkTime=SetCaretBlinkTime@4
SetCaretPos=SetCaretPos@8
SetClassLongA=SetClassLongA@12
SetClassLongW=SetClassLongW@12
SetClassWord=SetClassWord@12
SetClipboardData=SetClipboardData@8
SetClipboardViewer=SetClipboardViewer@4
;SetConsoleReserveKeys
SetCursor=SetCursor@4
;SetCursorContents
SetCursorPos=SetCursorPos@8
;SetDebugErrorLevel
;SetDeskWallpaper
SetDlgItemInt=SetDlgItemInt@16
SetDlgItemTextA=SetDlgItemTextA@12
SetDlgItemTextW=SetDlgItemTextW@12
SetDoubleClickTime=SetDoubleClickTime@4
SetFocus=SetFocus@4
SetForegroundWindow=SetForegroundWindow@4
;SetInternalWindowPos
SetKeyboardState=SetKeyboardState@4
SetLastErrorEx=SetLastErrorEx@8
SetLayeredWindowAttributes=SetLayeredWindowAttributes@16
;SetLogonNotifyWindow
SetMenu=SetMenu@8
;SetMenuContextHelpId
SetMenuDefaultItem=SetMenuDefaultItem@12
SetMenuInfo=SetMenuInfo@8
SetMenuItemBitmaps=SetMenuItemBitmaps@20
SetMenuItemInfoA=SetMenuItemInfoA@16
SetMenuItemInfoW=SetMenuItemInfoW@16
SetMessageExtraInfo=SetMessageExtraInfo@4
;SetMessageQueue
SetParent=SetParent@8
SetProcessDefaultLayout=SetProcessDefaultLayout@4
SetProcessWindowStation=SetProcessWindowStation@4
SetShellWindow=SetShellWindow@4
;SetProgmanWindow
SetPropA=SetPropA@12
SetPropW=SetPropW@12
SetRect=SetRect@20
SetRectEmpty=SetRectEmpty@4
SetScrollInfo=SetScrollInfo@16
SetScrollPos=SetScrollPos@16
SetScrollRange=SetScrollRange@20
;SetShellWindow
;SetShellWindowEx
SetSysColors=SetSysColors@12
;SetSysColorsTemp
SetSystemCursor=SetSystemCursor@8
SetSystemTimer=SetSystemTimer@16
;SetSystemMenu
;SetSystemTimer
;SetTaskmanWindow
SetThreadDesktop=SetThreadDesktop@4
SetTimer=SetTimer@16
SetUserObjectInformationA=SetUserObjectInformationA@16
SetUserObjectInformationW=SetUserObjectInformationW@16
SetUserObjectSecurity=SetUserObjectSecurity@12
SetWindowContextHelpId=SetWindowContextHelpId@8
;_imp__SetWindowContextHelpId=_imp__SetWindowContextHelpId@8
SetWindowsHookA=SetWindowsHookA@8
SetWindowsHookW=SetWindowsHookW@8
;SetUserObjectSecurity
;SetWinEventHook
;SetWindowContextHelpId
SetWindowLongA=SetWindowLongA@12
SetWindowLongW=SetWindowLongW@12
SetWindowPlacement=SetWindowPlacement@8
SetWindowPos=SetWindowPos@28
SetWindowRgn=SetWindowRgn@12
;SetWindowStationUser
SetWindowTextA=SetWindowTextA@8
SetWindowTextW=SetWindowTextW@8
;SetWindowWord
;SetWindowsHookA
;SetWindowsHookExA
;SetWindowsHookExW
;SetWindowsHookW
ShowCaret=ShowCaret@4
ShowCursor=ShowCursor@4
ShowOwnedPopups=ShowOwnedPopups@8
ShowScrollBar=ShowScrollBar@12
;ShowStartGlass
ShowWindow=ShowWindow@8
ShowWindowAsync=ShowWindowAsync@8
;SoftModalMessageBox
SubtractRect=SubtractRect@12
SwapMouseButton=SwapMouseButton@4
SwitchDesktop=SwitchDesktop@4
TileChildWindows=TileChildWindows@8
;SwitchToThisWindow
SystemParametersInfoA=SystemParametersInfoA@16
SystemParametersInfoW=SystemParametersInfoW@16
TabbedTextOutA=TabbedTextOutA@32
TabbedTextOutW=TabbedTextOutW@32
;TileChildWindows
TileWindows=TileWindows@20
ToAscii=ToAscii@20
ToAsciiEx=ToAsciiEx@24
ToUnicode=ToUnicode@24
ToUnicodeEx=ToUnicodeEx@28
TrackMouseEvent=TrackMouseEvent@4
TranslateAccelerator=TranslateAccelerator@12
TrackPopupMenu=TrackPopupMenu@28
TrackPopupMenuEx=TrackPopupMenuEx@24
;TranslateAccelerator@12
TranslateAcceleratorA=TranslateAcceleratorA@12
TranslateAcceleratorW=TranslateAcceleratorW@12
TranslateMDISysAccel=TranslateMDISysAccel@8
TranslateMessage=TranslateMessage@4
;TranslateMessageEx
;UnhookWinEvent
;UnhookWindowsHook
UnhookWindowsHookEx=UnhookWindowsHookEx@4
UnionRect=UnionRect@12
UnloadKeyboardLayout=UnloadKeyboardLayout@4
;UnlockWindowStation
UnpackDDElParam=UnpackDDElParam@16
UnregisterClassA=UnregisterClassA@8
UnregisterClassW=UnregisterClassW@8
UnregisterDeviceNotification=UnregisterDeviceNotification@4
UnregisterHotKey=UnregisterHotKey@8
UpdateLayeredWindow=UpdateLayeredWindow@36
;UpdatePerUserSystemParameters
UpdateWindow=UpdateWindow@4
;User32InitializeImmEntryTable
;UserClientDllInitialize
UserHandleGrantAccess=UserHandleGrantAccess@12
;UserLpkPSMTextOut
;UserLpkTabbedTextOut
;UserRealizePalette
;UserRegisterWowHandlers
;VRipOutput
;VTagOutput
ValidateRect=ValidateRect@8
ValidateRgn=ValidateRgn@8
VkKeyScanA=VkKeyScanA@4
VkKeyScanExA=VkKeyScanExA@8
VkKeyScanExW=VkKeyScanExW@8
VkKeyScanW=VkKeyScanW@4
WinHelpA=WinHelpA@16
WinHelpW=WinHelpW@16
;WCSToMBEx
;WINNLSEnableIME
;WINNLSGetEnableStatus
;WINNLSGetIMEHotkey
WaitForInputIdle=WaitForInputIdle@8
WaitMessage=WaitMessage@0
;Win32PoolAllocationStats
;WinHelpA
;WinHelpW
WindowFromDC=WindowFromDC@4
keybd_event=keybd_event@16
mouse_event=mouse_event@20
WindowFromPoint=WindowFromPoint@8
;keybd_event
;mouse_event
wsprintfA
wsprintfW
wvsprintfA=wvsprintfA@12
wvsprintfW=wvsprintfW@12
; EOF

View file

@ -6,7 +6,7 @@ ARCH := i386
#
# Whether to compile in the kernel debugger
#
KDBG := 0
KDBG := 1
#
# Whether to compile for debugging
@ -21,4 +21,4 @@ MP := 0
#
# Whether to compile for ACPI compliant systems
#
ACPI := 0
ACPI := 1

View file

@ -1,4 +1,4 @@
/* $Id: dc.c,v 1.20 2001/05/02 12:33:42 jfilby Exp $
/* $Id: dc.c,v 1.21 2001/05/07 22:03:27 chorns Exp $
*
* DC.C - Device context functions
*
@ -213,7 +213,11 @@ HDC STDCALL W32kCreateDC(LPCWSTR Driver,
/* Get the DDI driver's entry point */
/* FIXME: Retrieve DDI driver name from registry */
#ifdef DDRIVE_FIX
if ((GDEnableDriver = DRIVER_FindDDIDriver(L"\\??\\D:\\reactos\\system32\\drivers\\vgaddi.dll")) == NULL)
#else
if ((GDEnableDriver = DRIVER_FindDDIDriver(L"\\??\\C:\\reactos\\system32\\drivers\\vgaddi.dll")) == NULL)
#endif
{
DPRINT("FindDDIDriver failed\n");
goto Failure;