2001-06-12 17:51:51 +00:00
|
|
|
/*
|
2005-06-20 18:21:07 +00:00
|
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
|
|
* PROJECT: ReactOS System Libraries
|
|
|
|
* FILE: lib/user32/include/user32.h
|
|
|
|
* PURPOSE: Win32 User Library
|
|
|
|
* PROGRAMMER: Alex Ionescu (alex@relsoft.net)
|
2001-06-12 17:51:51 +00:00
|
|
|
*/
|
2005-06-19 18:06:53 +00:00
|
|
|
|
2005-06-20 18:21:07 +00:00
|
|
|
/* INCLUDES ******************************************************************/
|
|
|
|
|
2005-07-27 01:44:10 +00:00
|
|
|
/* C Headers */
|
|
|
|
#include <stdio.h>
|
2005-07-27 19:21:46 +00:00
|
|
|
#include <math.h>
|
2005-07-27 01:44:10 +00:00
|
|
|
|
2005-06-20 18:21:07 +00:00
|
|
|
/* SDK/NDK Headers */
|
2005-07-27 19:21:46 +00:00
|
|
|
#define _USER32_
|
|
|
|
#define OEMRESOURCE
|
|
|
|
#define NTOS_MODE_USER
|
2005-11-18 23:19:48 +00:00
|
|
|
#define WIN32_NO_STATUS
|
2001-06-12 17:51:51 +00:00
|
|
|
#include <windows.h>
|
2005-12-04 14:19:05 +00:00
|
|
|
#include <winuser.h>
|
2005-06-19 18:06:53 +00:00
|
|
|
#include <windowsx.h>
|
2005-07-27 19:21:46 +00:00
|
|
|
#include <winnls32.h>
|
2005-06-20 18:21:07 +00:00
|
|
|
#include <ndk/ntndk.h>
|
2004-01-26 12:46:16 +00:00
|
|
|
|
Large change to modify NTDLL'S CSR Functions to be compatible with NT. They are external and we should at least try to match the number of arguments (one vs eight? come on!). Because this is also the direction that Emanuele wants to be taking, the whole external calling interface was modified to be more compatible with NT (although internally it still isn't, and does not have a reason to be). API Names are now generated by a macro from the Server ID, like Emanuele and I noticed from traces, and I've entirely removed the concept of a reply structure. CSRSS uses full-duplex one-way structures, not dual-strutures (this would've been incompatible with the external interface anyways). I don't seem to have introduced any new bugs (console-ROS works great for me, as does the GUI), but there is still a chance some obscure bug might happen, so please bear with me, I had to hand-edit over 250 calls. Also, this now allows full removal of ntdll headers and the next commits will clean this up
svn path=/trunk/; revision=16213
2005-06-22 04:02:32 +00:00
|
|
|
/* CSRSS Headers */
|
|
|
|
#include <csrss/csrss.h>
|
|
|
|
|
2005-12-28 12:40:17 +00:00
|
|
|
/* External Win32K Headers */
|
2005-06-20 18:21:07 +00:00
|
|
|
#include <win32k/ntuser.h>
|
2005-12-28 12:40:17 +00:00
|
|
|
#include <win32k/caret.h>
|
2005-06-20 18:21:07 +00:00
|
|
|
#include <win32k/callback.h>
|
2005-12-28 12:40:17 +00:00
|
|
|
#include <win32k/cursoricon.h>
|
|
|
|
#include <win32k/menu.h>
|
|
|
|
#include <win32k/paint.h>
|
2004-05-01 09:31:59 +00:00
|
|
|
|
2005-07-27 19:21:46 +00:00
|
|
|
/* WINE Headers */
|
|
|
|
#include <wine/debug.h>
|
|
|
|
#include <wine/unicode.h>
|
|
|
|
|
2005-06-20 18:21:07 +00:00
|
|
|
/* Internal User32 Headers */
|
|
|
|
#include "user32p.h"
|
2004-05-02 17:25:21 +00:00
|
|
|
|
2005-12-28 12:40:17 +00:00
|
|
|
/* FIXME: FILIP */
|
2005-06-20 18:21:07 +00:00
|
|
|
HGDIOBJ STDCALL NtGdiSelectObject(HDC hDC, HGDIOBJ hGDIObj);
|
2005-12-28 12:40:17 +00:00
|
|
|
DWORD STDCALL GdiGetCharDimensions(HDC, LPTEXTMETRICW, LONG *);
|