From 677110b2ccf701b498da3d2011a1ddc59b319153 Mon Sep 17 00:00:00 2001 From: Richard Campbell Date: Mon, 30 Jun 2003 22:17:37 +0000 Subject: [PATCH] New ROS User32...doesn't work...doesn't even compile...not even CLOSE to being complete...(no dllmain yet for instance...) svn path=/trunk/; revision=4993 --- reactos/lib/user32/RosUser32/accessibility.c | 14 +++++ .../lib/user32/RosUser32/controls/button.c | 0 .../lib/user32/RosUser32/controls/listview.c | 0 reactos/lib/user32/RosUser32/controls/menu.c | 0 .../lib/user32/RosUser32/controls/static.c | 0 reactos/lib/user32/RosUser32/dde.c | 17 ++++++ reactos/lib/user32/RosUser32/help.c | 26 ++++++++ reactos/lib/user32/RosUser32/io.c | 60 +++++++++++++++++++ reactos/lib/user32/RosUser32/menu.c | 18 ++++++ reactos/lib/user32/RosUser32/message.c | 14 +++++ reactos/lib/user32/RosUser32/region.c | 30 ++++++++++ reactos/lib/user32/RosUser32/string.c | 40 +++++++++++++ reactos/lib/user32/RosUser32/thread.c | 21 +++++++ reactos/lib/user32/RosUser32/undocumented.c | 30 ++++++++++ reactos/lib/user32/RosUser32/user32.c | 0 reactos/lib/user32/RosUser32/user32.h | 0 reactos/lib/user32/RosUser32/window.c | 35 +++++++++++ 17 files changed, 305 insertions(+) create mode 100644 reactos/lib/user32/RosUser32/accessibility.c create mode 100644 reactos/lib/user32/RosUser32/controls/button.c create mode 100644 reactos/lib/user32/RosUser32/controls/listview.c create mode 100644 reactos/lib/user32/RosUser32/controls/menu.c create mode 100644 reactos/lib/user32/RosUser32/controls/static.c create mode 100644 reactos/lib/user32/RosUser32/dde.c create mode 100644 reactos/lib/user32/RosUser32/help.c create mode 100644 reactos/lib/user32/RosUser32/io.c create mode 100644 reactos/lib/user32/RosUser32/menu.c create mode 100644 reactos/lib/user32/RosUser32/message.c create mode 100644 reactos/lib/user32/RosUser32/region.c create mode 100644 reactos/lib/user32/RosUser32/string.c create mode 100644 reactos/lib/user32/RosUser32/thread.c create mode 100644 reactos/lib/user32/RosUser32/undocumented.c create mode 100644 reactos/lib/user32/RosUser32/user32.c create mode 100644 reactos/lib/user32/RosUser32/user32.h create mode 100644 reactos/lib/user32/RosUser32/window.c diff --git a/reactos/lib/user32/RosUser32/accessibility.c b/reactos/lib/user32/RosUser32/accessibility.c new file mode 100644 index 00000000000..c7ce193db2c --- /dev/null +++ b/reactos/lib/user32/RosUser32/accessibility.c @@ -0,0 +1,14 @@ +/* $Id: accessibility.c,v 1.1 2003/06/30 22:17:37 rcampbell Exp $ + * + * COPYRIGHT: See COPYING in the top level directory + * PROJECT: ReactOS user32.dll + * PROGRAMMER: Richard Campbell + * UPDATE HISTORY: + * 06-30-2003 CSH Created + */ + +BOOL STDCALL +UnhookWinEvent( HWINEVENTHOOK hWinEventHook ) +{ + UNIMPLEMENTED; +} \ No newline at end of file diff --git a/reactos/lib/user32/RosUser32/controls/button.c b/reactos/lib/user32/RosUser32/controls/button.c new file mode 100644 index 00000000000..e69de29bb2d diff --git a/reactos/lib/user32/RosUser32/controls/listview.c b/reactos/lib/user32/RosUser32/controls/listview.c new file mode 100644 index 00000000000..e69de29bb2d diff --git a/reactos/lib/user32/RosUser32/controls/menu.c b/reactos/lib/user32/RosUser32/controls/menu.c new file mode 100644 index 00000000000..e69de29bb2d diff --git a/reactos/lib/user32/RosUser32/controls/static.c b/reactos/lib/user32/RosUser32/controls/static.c new file mode 100644 index 00000000000..e69de29bb2d diff --git a/reactos/lib/user32/RosUser32/dde.c b/reactos/lib/user32/RosUser32/dde.c new file mode 100644 index 00000000000..4e9940ad120 --- /dev/null +++ b/reactos/lib/user32/RosUser32/dde.c @@ -0,0 +1,17 @@ +/* $Id: dde.c,v 1.1 2003/06/30 22:17:37 rcampbell Exp $ + * + * COPYRIGHT: See COPYING in the top level directory + * PROJECT: ReactOS user32.dll + * PROGRAMMER: Richard Campbell + * UPDATE HISTORY: + * 06-30-2003 CSH Created + */ + +BOOL STDCALL +UnpackDDElParam( UINT msg, + LPARAM lParam, + PUINT_PTR puiLo, + PUINT_PTR puiHi ) +{ + UNIMPLEMENTED; +} diff --git a/reactos/lib/user32/RosUser32/help.c b/reactos/lib/user32/RosUser32/help.c new file mode 100644 index 00000000000..5c66c5ebd93 --- /dev/null +++ b/reactos/lib/user32/RosUser32/help.c @@ -0,0 +1,26 @@ +/* $Id: help.c,v 1.1 2003/06/30 22:17:37 rcampbell Exp $ + * + * COPYRIGHT: See COPYING in the top level directory + * PROJECT: ReactOS user32.dll + * PROGRAMMER: Richard Campbell + * UPDATE HISTORY: + * 06-30-2003 CSH Created + */ + +BOOL STDCALL +WinHelpA( HWND hWndMain, + LPCSTR lpszHelp, + UINT uCommand, + ULONG_PTR dwData ) +{ + UNIMPLEMENTED; +} + +BOOL STDCALL +WinHelpW( HWND hWndMain, + LPCWSTR lpszHelp, + UINT uCommand, + ULONG_PTR dwData ) +{ + UNIMPLEMENTED; +} diff --git a/reactos/lib/user32/RosUser32/io.c b/reactos/lib/user32/RosUser32/io.c new file mode 100644 index 00000000000..facf15bf0a4 --- /dev/null +++ b/reactos/lib/user32/RosUser32/io.c @@ -0,0 +1,60 @@ +/* $Id: io.c,v 1.1 2003/06/30 22:17:37 rcampbell Exp $ + * + * COPYRIGHT: See COPYING in the top level directory + * PROJECT: ReactOS user32.dll + * PROGRAMMER: Richard Campbell + * UPDATE HISTORY: + * 06-30-2003 CSH Created + */ + + +VOID STDCALL +mouse_event( DWORD dwFlags, + DWORD dx, + DWORD dy, + DWORD dwData, + ULONG_PTR dwExtraInfo ) +{ + UNIMPLEMENTED; +} + +VOID STDCALL +keybd_event( BYTE bVk, + BYTE bScan, + DWORD dwFlags, + PTR dwExtraInfo ) +{ + UNIMPLEMENTED; +} + +SHORT STDCALL +VkKeyScanA( TCHAR ch ) +{ + UNIMPLEMENTED; +} + +SHORT STDCALL +VkKeyScanW( WCHAR ch ) +{ + UNIMPLEMENTED; +} + +SHORT STDCALL +VkKeyScanExA( char ch, + HKL dwhkl ) +{ + UNIMPLEMENTED; +} + +SHORT STDCALL +VkKeyScanExW( WCHAR ch, + HKL dwhkl ) +{ + UNIMPLEMENTED; +} + +BOOL STDCALL +UnloadKeyboardLayout( HKL hkl ) +{ + UNIMPLEMENTED; +} diff --git a/reactos/lib/user32/RosUser32/menu.c b/reactos/lib/user32/RosUser32/menu.c new file mode 100644 index 00000000000..cba775a6b71 --- /dev/null +++ b/reactos/lib/user32/RosUser32/menu.c @@ -0,0 +1,18 @@ +/* $Id: menu.c,v 1.1 2003/06/30 22:17:37 rcampbell Exp $ + * + * COPYRIGHT: See COPYING in the top level directory + * PROJECT: ReactOS user32.dll + * PROGRAMMER: Richard Campbell + * UPDATE HISTORY: + * 06-30-2003 CSH Created + */ + +BOOL TrackPopupMenuEx( HMENU hmenu, + UINT fuFlags, + int x, + int y, + HWND hwnd, + LPTPMPARAMS lptpm ) +{ + UNIMPLEMENTED; +} \ No newline at end of file diff --git a/reactos/lib/user32/RosUser32/message.c b/reactos/lib/user32/RosUser32/message.c new file mode 100644 index 00000000000..ee379769704 --- /dev/null +++ b/reactos/lib/user32/RosUser32/message.c @@ -0,0 +1,14 @@ +/* $Id: message.c,v 1.1 2003/06/30 22:17:37 rcampbell Exp $ + * + * COPYRIGHT: See COPYING in the top level directory + * PROJECT: ReactOS user32.dll + * PROGRAMMER: Richard Campbell + * UPDATE HISTORY: + * 06-30-2003 CSH Created + */ + +BOOL STDCALL +TranslateMessage( const MSG *lpMsg ) +{ + UNIMPLEMENTED; +} \ No newline at end of file diff --git a/reactos/lib/user32/RosUser32/region.c b/reactos/lib/user32/RosUser32/region.c new file mode 100644 index 00000000000..a4559d3163e --- /dev/null +++ b/reactos/lib/user32/RosUser32/region.c @@ -0,0 +1,30 @@ +/* $Id: region.c,v 1.1 2003/06/30 22:17:37 rcampbell Exp $ + * + * COPYRIGHT: See COPYING in the top level directory + * PROJECT: ReactOS user32.dll + * PROGRAMMER: Richard Campbell + * UPDATE HISTORY: + * 06-30-2003 CSH Created + */ + +BOOL STDCALL +ValidateRgn( HWND hWnd, + HRGN hRgn ) +{ + UNIMPLEMENTED; +} + +BOOL STDCALL +ValidateRect( HWND hWnd, + CONST RECT *lpRect ) +{ + UNIMPLEMENTED; +} + +BOOL STDCALL +UnionRect( LPRECT lprcDst, + CONST RECT *lprcSrc1, + CONST RECT *lprcSrc2 ) +{ + UNIMPLEMENTED; +} diff --git a/reactos/lib/user32/RosUser32/string.c b/reactos/lib/user32/RosUser32/string.c new file mode 100644 index 00000000000..8e96f62a006 --- /dev/null +++ b/reactos/lib/user32/RosUser32/string.c @@ -0,0 +1,40 @@ +/* $Id: string.c,v 1.1 2003/06/30 22:17:37 rcampbell Exp $ + * + * COPYRIGHT: See COPYING in the top level directory + * PROJECT: ReactOS user32.dll + * PROGRAMMER: Richard Campbell + * UPDATE HISTORY: + * 06-30-2003 CSH Created + */ + +INT STDCALL +wsprintfA( LPCSTR lpOut, + LPCSTR lpFmt, + ...) +{ + UNIMPLEMENTED; +} + +INT STDCALL +wsprintfW( LPCWSTR lpOut, + LPCWSTR lpFmt, + ... ) +{ + UNIMPLEMENTED; +} + +INT STDCALL +wvsprintfA( LPSTR lpOutput, + LPSTR lpFmt, + va_list arglist ) +{ + UNIMPLEMENTED; +} + +INT STDCALL +wvsprintfW( LPWSTR lpOutput, + LPWSTR lpFmt, + va_list arglist ) +{ + UNIMPLEMENTED; +} diff --git a/reactos/lib/user32/RosUser32/thread.c b/reactos/lib/user32/RosUser32/thread.c new file mode 100644 index 00000000000..60c9b310453 --- /dev/null +++ b/reactos/lib/user32/RosUser32/thread.c @@ -0,0 +1,21 @@ +/* $Id: thread.c,v 1.1 2003/06/30 22:17:37 rcampbell Exp $ + * + * COPYRIGHT: See COPYING in the top level directory + * PROJECT: ReactOS user32.dll + * PROGRAMMER: Richard Campbell + * UPDATE HISTORY: + * 06-30-2003 CSH Created + */ + +BOOL STDCALL +WaitMessage( VOID ) +{ + UNIMPLEMENTED; +} + +DWORD STDCALL +WaitForInputIdle( HANDLE hProcess, + DWORD dwMilliseconds ) +{ + UNIMPLEMENTED; +} diff --git a/reactos/lib/user32/RosUser32/undocumented.c b/reactos/lib/user32/RosUser32/undocumented.c new file mode 100644 index 00000000000..a4ce4317f1a --- /dev/null +++ b/reactos/lib/user32/RosUser32/undocumented.c @@ -0,0 +1,30 @@ +/* $Id: undocumented.c,v 1.1 2003/06/30 22:17:37 rcampbell Exp $ + * + * COPYRIGHT: See COPYING in the top level directory + * PROJECT: ReactOS user32.dll + * PROGRAMMER: Richard Campbell + * UPDATE HISTORY: + * 06-30-2003 CSH Created + */ + +/* +The functions listed here are not documented on MSDN: + +WCSToMBEx +UserRegisterWowHandlers +UserRealizePalette +UserClientDllInitialize +UpdatePerUserSystemParameters +UnregisterHotKey +UnregisterClassW +UnregisterClassA +UnlockWindowStation +UnhookWindowsHook +TranslateMessageEx +TranslateMDISysAccel +TranslateAccelerator +TranslateAcceleratorA +TranslateAcceleratorW + + +*/ diff --git a/reactos/lib/user32/RosUser32/user32.c b/reactos/lib/user32/RosUser32/user32.c new file mode 100644 index 00000000000..e69de29bb2d diff --git a/reactos/lib/user32/RosUser32/user32.h b/reactos/lib/user32/RosUser32/user32.h new file mode 100644 index 00000000000..e69de29bb2d diff --git a/reactos/lib/user32/RosUser32/window.c b/reactos/lib/user32/RosUser32/window.c new file mode 100644 index 00000000000..62beb03c3bf --- /dev/null +++ b/reactos/lib/user32/RosUser32/window.c @@ -0,0 +1,35 @@ +/* $Id: window.c,v 1.1 2003/06/30 22:17:37 rcampbell Exp $ + * + * COPYRIGHT: See COPYING in the top level directory + * PROJECT: ReactOS user32.dll + * PROGRAMMER: Richard Campbell + * UPDATE HISTORY: + * 06-30-2003 CSH Created + */ + +//WindowFromDC +//WindowFromPoint + +HWND STDCALL +WindowFromDC( HDC hDC ) +{ + UNIMPLEMENTED; +} + +HWND STDCALL +WindowFromPoint( POINT Point ) +{ + UNIMPLEMENTED; +} + +BOOL STDCALL +UpdateWindow( HWND hWnd ) +{ + UNIMPLEMENTED; +} + +BOOL STDCALL +UnhookWindowsHookEx( HHOOK hhk ) +{ + UNIMPLEMENTED; +}