Author: jimtabor
Date: Tue Jul 8 00:11:40 2008
New Revision: 34362
URL:
http://svn.reactos.org/svn/reactos?rev=34362&view=rev
Log:
Update prototypes and stubs.
Modified:
trunk/reactos/dll/win32/user32/misc/stubs.c
trunk/reactos/dll/win32/user32/user32.def
trunk/reactos/include/reactos/win32k/ntuser.h
trunk/reactos/subsystems/win32/win32k/ntuser/ntstubs.c
Modified: trunk/reactos/dll/win32/user32/misc/stubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/misc/stub…
==============================================================================
--- trunk/reactos/dll/win32/user32/misc/stubs.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/misc/stubs.c [iso-8859-1] Tue Jul 8 00:11:40 2008
@@ -378,21 +378,6 @@
/*
* @unimplemented
*/
-BOOL
-STDCALL
-GetLayeredWindowAttributes(
- HWND hwnd,
- COLORREF *pcrKey,
- BYTE *pbAlpha,
- DWORD *pdwFlags)
-{
- UNIMPLEMENTED;
- return FALSE;
-}
-
-/*
- * @unimplemented
- */
UINT
STDCALL
GetRawInputBuffer(
Modified: trunk/reactos/dll/win32/user32/user32.def
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/user32.de…
==============================================================================
--- trunk/reactos/dll/win32/user32/user32.def [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/user32.def [iso-8859-1] Tue Jul 8 00:11:40 2008
@@ -302,7 +302,7 @@
GetKeyboardType@4
GetLastActivePopup@4
GetLastInputInfo@4
-GetLayeredWindowAttributes@16
+GetLayeredWindowAttributes@16=NtUserGetLayeredWindowAttributes@16
GetListBoxInfo@4
GetMenu@4
GetMenuBarInfo@16
Modified: trunk/reactos/include/reactos/win32k/ntuser.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/win32k/ntu…
==============================================================================
--- trunk/reactos/include/reactos/win32k/ntuser.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/win32k/ntuser.h [iso-8859-1] Tue Jul 8 00:11:40 2008
@@ -552,12 +552,12 @@
DWORD Unknown1,
DWORD Unknown2);
-DWORD
+BOOL
NTAPI
NtUserAttachThreadInput(
- DWORD Unknown0,
- DWORD Unknown1,
- DWORD Unknown2);
+ IN DWORD idAttach,
+ IN DWORD idAttachTo,
+ IN BOOL fAttach);
HDC NTAPI
NtUserBeginPaint(HWND hWnd, PAINTSTRUCT* lPs);
@@ -987,12 +987,12 @@
DWORD Unknown5,
DWORD Unknown6);
-DWORD
+BOOL
NTAPI
NtUserDdeGetQualityOfService(
- DWORD Unknown0,
- DWORD Unknown1,
- DWORD Unknown2);
+ IN HWND hwndClient,
+ IN HWND hWndServer,
+ OUT PSECURITY_QUALITY_OF_SERVICE pqosPrev);
DWORD
NTAPI
@@ -1003,12 +1003,12 @@
DWORD Unknown3,
DWORD Unknown4);
-DWORD
+BOOL
NTAPI
NtUserDdeSetQualityOfService(
- DWORD Unknown0,
- DWORD Unknown1,
- DWORD Unknown2);
+ IN HWND hwndClient,
+ IN PSECURITY_QUALITY_OF_SERVICE pqosNew,
+ OUT PSECURITY_QUALITY_OF_SERVICE pqosPrev);
HDWP NTAPI
NtUserDeferWindowPos(HDWP WinPosInfo,
@@ -1074,13 +1074,13 @@
DWORD dw1,
HCURSOR hc1);
-DWORD
+BOOL
NTAPI
NtUserDrawAnimatedRects(
- DWORD Unknown0,
- DWORD Unknown1,
- DWORD Unknown2,
- DWORD Unknown3);
+ HWND hwnd,
+ INT idAni,
+ RECT *lprcFrom,
+ RECT *lprcTo);
BOOL
NTAPI
@@ -1178,8 +1178,8 @@
DWORD
NTAPI
NtUserExcludeUpdateRgn(
- DWORD Unknown0,
- DWORD Unknown1);
+ HDC hDC,
+ HWND hWnd);
DWORD
NTAPI
@@ -1212,15 +1212,15 @@
NtUserFlashWindowEx(
DWORD Unknown0);
-DWORD
+BOOL
NTAPI
NtUserGetAltTabInfo(
- DWORD Unknown0,
- DWORD Unknown1,
- DWORD Unknown2,
- DWORD Unknown3,
- DWORD Unknown4,
- DWORD Unknown5);
+ HWND hwnd,
+ INT iItem,
+ PALTTABINFO pati,
+ LPTSTR pszItemText,
+ UINT cchItemText,
+ BOOL Ansi);
HWND NTAPI
NtUserGetAncestor(HWND hWnd, UINT Flags);
@@ -1306,12 +1306,12 @@
HWND hWnd,
PCOMBOBOXINFO pcbi);
-DWORD
+HBRUSH
NTAPI
NtUserGetControlBrush(
- DWORD Unknown0,
- DWORD Unknown1,
- DWORD Unknown2);
+ HWND hwnd,
+ HDC hdc,
+ UINT ctlType);
DWORD
NTAPI
@@ -1447,13 +1447,13 @@
NtUserGetKeyState(
DWORD Unknown0);
-DWORD
+BOOL
NTAPI
NtUserGetLayeredWindowAttributes(
- DWORD dwUnknown1,
- DWORD dwUnknown2,
- DWORD dwUnknown3,
- DWORD dwUnknown4);
+ HWND hwnd,
+ COLORREF *pcrKey,
+ BYTE *pbAlpha,
+ DWORD *pdwFlags);
DWORD
NTAPI
@@ -1509,40 +1509,40 @@
DWORD
NTAPI
NtUserGetRawInputBuffer(
- DWORD dwUnknown1,
- DWORD dwUnknown2,
- DWORD dwUnknown3);
+ PRAWINPUT pData,
+ PUINT pcbSize,
+ UINT cbSizeHeader);
DWORD
NTAPI
NtUserGetRawInputData(
- DWORD dwUnknown1,
- DWORD dwUnknown2,
- DWORD dwUnknown3,
- DWORD dwUnknown4,
- DWORD dwUnknown5);
+ HRAWINPUT hRawInput,
+ UINT uiCommand,
+ LPVOID pData,
+ PUINT pcbSize,
+ UINT cbSizeHeader);
DWORD
NTAPI
NtUserGetRawInputDeviceInfo(
- DWORD dwUnknown1,
- DWORD dwUnknown2,
- DWORD dwUnknown3,
- DWORD dwUnknown4);
+ HANDLE hDevice,
+ UINT uiCommand,
+ LPVOID pData,
+ PUINT pcbSize);
DWORD
NTAPI
NtUserGetRawInputDeviceList(
- DWORD dwUnknown1,
- DWORD dwUnknown2,
- DWORD dwUnknown3);
+ PRAWINPUTDEVICELIST pRawInputDeviceList,
+ PUINT puiNumDevices,
+ UINT cbSize);
DWORD
NTAPI
NtUserGetRegisteredRawInputDevices(
- DWORD dwUnknown1,
- DWORD dwUnknown2,
- DWORD dwUnknown3);
+ PRAWINPUTDEVICE pRawInputDevices,
+ PUINT puiNumDevices,
+ UINT cbSize);
BOOL
NTAPI
@@ -1614,11 +1614,11 @@
DWORD dwUnknown2,
DWORD dwUnknown3);
-DWORD
+BOOL
NTAPI
NtUserImpersonateDdeClientWindow(
- DWORD Unknown0,
- DWORD Unknown1);
+ HWND hWndClient,
+ HWND hWndServer);
DWORD
NTAPI
@@ -1706,7 +1706,7 @@
NtUserLockWindowUpdate(
DWORD Unknown0);
-DWORD
+BOOL
NTAPI
NtUserLockWorkStation(VOID);
@@ -1858,12 +1858,12 @@
WPARAM wParam,
LPARAM lParam);
-DWORD
+BOOL
NTAPI
NtUserPrintWindow(
- DWORD dwUnknown1,
- DWORD dwUnknown2,
- DWORD dwUnknown3);
+ HWND hwnd,
+ HDC hdcBlt,
+ UINT nFlags);
DWORD
NTAPI
@@ -1956,12 +1956,12 @@
DWORD dwUnknown6,
DWORD dwUnknown7);
-DWORD
+BOOL
NTAPI
NtUserRegisterRawInputDevices(
- DWORD dwUnknown1,
- DWORD dwUnknown2,
- DWORD dwUnknown3);
+ IN PCRAWINPUTDEVICE pRawInputDevices,
+ IN UINT uiNumDevices,
+ IN UINT cbSize);
DWORD
NTAPI
@@ -2396,7 +2396,7 @@
HWND hWnd,
LONG nCmdShow);
-DWORD
+BOOL
NTAPI
NtUserSoundSentry(VOID);
@@ -2429,10 +2429,10 @@
UINT wFlags,
HKL dwhkl );
-DWORD
+BOOL
NTAPI
NtUserTrackMouseEvent(
- DWORD Unknown0);
+ LPTRACKMOUSEEVENT lpEventTrack);
int
NTAPI
@@ -2516,12 +2516,12 @@
DWORD dwReserved,
BOOL bEnable);
-DWORD
+BOOL
NTAPI
NtUserUserHandleGrantAccess(
- DWORD Unknown0,
- DWORD Unknown1,
- DWORD Unknown2);
+ IN HANDLE hUserHandle,
+ IN HANDLE hJob,
+ IN BOOL bGrant);
BOOL
NTAPI
@@ -2552,9 +2552,9 @@
DWORD
NTAPI
NtUserWaitForInputIdle(
- DWORD Unknown0,
- DWORD Unknown1,
- DWORD Unknown2);
+ IN HANDLE hProcess,
+ IN DWORD dwMilliseconds,
+ IN BOOL Unknown2); // Always FALSE
DWORD
NTAPI
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/ntstubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/ntstubs.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/ntstubs.c [iso-8859-1] Tue Jul 8
00:11:40 2008
@@ -24,12 +24,13 @@
return 0;
}
-DWORD
-STDCALL
+
+BOOL
+NTAPI
NtUserAttachThreadInput(
- DWORD Unknown0,
- DWORD Unknown1,
- DWORD Unknown2)
+ IN DWORD idAttach,
+ IN DWORD idAttachTo,
+ IN BOOL fAttach)
{
UNIMPLEMENTED
@@ -106,12 +107,12 @@
return 0;
}
-DWORD
-STDCALL
+BOOL
+NTAPI
NtUserDdeGetQualityOfService(
- DWORD Unknown0,
- DWORD Unknown1,
- DWORD Unknown2)
+ IN HWND hwndClient,
+ IN HWND hWndServer,
+ OUT PSECURITY_QUALITY_OF_SERVICE pqosPrev)
{
UNIMPLEMENTED
@@ -132,20 +133,20 @@
return 0;
}
-DWORD
-STDCALL
+BOOL
+NTAPI
NtUserDdeSetQualityOfService(
- DWORD Unknown0,
- DWORD Unknown1,
- DWORD Unknown2)
-{
- UNIMPLEMENTED
-
- return 0;
-}
-
-DWORD
-STDCALL
+ IN HWND hwndClient,
+ IN PSECURITY_QUALITY_OF_SERVICE pqosNew,
+ OUT PSECURITY_QUALITY_OF_SERVICE pqosPrev)
+{
+ UNIMPLEMENTED
+
+ return 0;
+}
+
+DWORD
+NTAPI
NtUserDragObject(
HWND hwnd1,
HWND hwnd2,
@@ -159,13 +160,13 @@
return 0;
}
-DWORD
-STDCALL
+BOOL
+NTAPI
NtUserDrawAnimatedRects(
- DWORD Unknown0,
- DWORD Unknown1,
- DWORD Unknown2,
- DWORD Unknown3)
+ HWND hwnd,
+ INT idAni,
+ RECT *lprcFrom,
+ RECT *lprcTo)
{
UNIMPLEMENTED
@@ -216,37 +217,37 @@
}
DWORD
-STDCALL
+NTAPI
NtUserExcludeUpdateRgn(
- DWORD Unknown0,
- DWORD Unknown1)
-{
- UNIMPLEMENTED
-
- return 0;
-}
-
-DWORD
-STDCALL
+ HDC hDC,
+ HWND hWnd)
+{
+ UNIMPLEMENTED
+
+ return 0;
+}
+
+BOOL
+NTAPI
NtUserGetAltTabInfo(
- DWORD Unknown0,
- DWORD Unknown1,
- DWORD Unknown2,
- DWORD Unknown3,
- DWORD Unknown4,
- DWORD Unknown5)
-{
- UNIMPLEMENTED
-
- return 0;
-}
-
-DWORD
-STDCALL
+ HWND hwnd,
+ INT iItem,
+ PALTTABINFO pati,
+ LPTSTR pszItemText,
+ UINT cchItemText,
+ BOOL Ansi)
+{
+ UNIMPLEMENTED
+
+ return 0;
+}
+
+HBRUSH
+NTAPI
NtUserGetControlBrush(
- DWORD Unknown0,
- DWORD Unknown1,
- DWORD Unknown2)
+ HWND hwnd,
+ HDC hdc,
+ UINT ctlType)
{
UNIMPLEMENTED
@@ -337,11 +338,11 @@
-DWORD
-STDCALL
+BOOL
+NTAPI
NtUserImpersonateDdeClientWindow(
- DWORD Unknown0,
- DWORD Unknown1)
+ HWND hWndClient,
+ HWND hWndServer)
{
UNIMPLEMENTED
@@ -382,8 +383,8 @@
return 0;
}
-DWORD
-STDCALL
+BOOL
+NTAPI
NtUserLockWorkStation(VOID)
{
UNIMPLEMENTED
@@ -572,10 +573,10 @@
return 0;
}
-DWORD
-STDCALL
+BOOL
+NTAPI
NtUserTrackMouseEvent(
- DWORD Unknown0)
+ LPTRACKMOUSEEVENT lpEventTrack)
{
UNIMPLEMENTED
@@ -607,24 +608,24 @@
return 0;
}
-DWORD
-STDCALL
+BOOL
+NTAPI
NtUserUserHandleGrantAccess(
- DWORD Unknown0,
- DWORD Unknown1,
- DWORD Unknown2)
-{
- UNIMPLEMENTED
-
- return 0;
-}
-
-DWORD
-STDCALL
+ IN HANDLE hUserHandle,
+ IN HANDLE hJob,
+ IN BOOL bGrant)
+{
+ UNIMPLEMENTED
+
+ return 0;
+}
+
+DWORD
+NTAPI
NtUserWaitForInputIdle(
- DWORD Unknown0,
- DWORD Unknown1,
- DWORD Unknown2)
+ IN HANDLE hProcess,
+ IN DWORD dwMilliseconds,
+ IN BOOL Unknown2) // Always FALSE
{
UNIMPLEMENTED
@@ -746,6 +747,65 @@
DWORD
NTAPI
NtUserGetRawInputBuffer(
+ PRAWINPUT pData,
+ PUINT pcbSize,
+ UINT cbSizeHeader)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+DWORD
+NTAPI
+NtUserGetRawInputData(
+ HRAWINPUT hRawInput,
+ UINT uiCommand,
+ LPVOID pData,
+ PUINT pcbSize,
+ UINT cbSizeHeader)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+DWORD
+NTAPI
+NtUserGetRawInputDeviceInfo(
+ HANDLE hDevice,
+ UINT uiCommand,
+ LPVOID pData,
+ PUINT pcbSize
+)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+DWORD
+NTAPI
+NtUserGetRawInputDeviceList(
+ PRAWINPUTDEVICELIST pRawInputDeviceList,
+ PUINT puiNumDevices,
+ UINT cbSize)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+DWORD
+NTAPI
+NtUserGetRegisteredRawInputDevices(
+ PRAWINPUTDEVICE pRawInputDevices,
+ PUINT puiNumDevices,
+ UINT cbSize)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+DWORD
+NTAPI
+NtUserHardErrorControl(
DWORD dwUnknown1,
DWORD dwUnknown2,
DWORD dwUnknown3)
@@ -756,20 +816,29 @@
DWORD
NTAPI
-NtUserGetRawInputData(
- DWORD dwUnknown1,
- DWORD dwUnknown2,
- DWORD dwUnknown3,
- DWORD dwUnknown4,
- DWORD dwUnknown5)
-{
- UNIMPLEMENTED;
- return 0;
-}
-
-DWORD
-NTAPI
-NtUserGetRawInputDeviceInfo(
+NtUserInitialize(
+ DWORD dwUnknown1,
+ DWORD dwUnknown2,
+ DWORD dwUnknown3)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+DWORD
+NTAPI
+NtUserMinMaximize(
+ DWORD dwUnknown1,
+ DWORD dwUnknown2,
+ DWORD dwUnknown3)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+DWORD
+NTAPI
+NtUserNotifyProcessCreate(
DWORD dwUnknown1,
DWORD dwUnknown2,
DWORD dwUnknown3,
@@ -779,79 +848,12 @@
return 0;
}
-DWORD
-NTAPI
-NtUserGetRawInputDeviceList(
- DWORD dwUnknown1,
- DWORD dwUnknown2,
- DWORD dwUnknown3)
-{
- UNIMPLEMENTED;
- return 0;
-}
-
-DWORD
-NTAPI
-NtUserGetRegisteredRawInputDevices(
- DWORD dwUnknown1,
- DWORD dwUnknown2,
- DWORD dwUnknown3)
-{
- UNIMPLEMENTED;
- return 0;
-}
-
-DWORD
-NTAPI
-NtUserHardErrorControl(
- DWORD dwUnknown1,
- DWORD dwUnknown2,
- DWORD dwUnknown3)
-{
- UNIMPLEMENTED;
- return 0;
-}
-
-DWORD
-NTAPI
-NtUserInitialize(
- DWORD dwUnknown1,
- DWORD dwUnknown2,
- DWORD dwUnknown3)
-{
- UNIMPLEMENTED;
- return 0;
-}
-
-DWORD
-NTAPI
-NtUserMinMaximize(
- DWORD dwUnknown1,
- DWORD dwUnknown2,
- DWORD dwUnknown3)
-{
- UNIMPLEMENTED;
- return 0;
-}
-
-DWORD
-NTAPI
-NtUserNotifyProcessCreate(
- DWORD dwUnknown1,
- DWORD dwUnknown2,
- DWORD dwUnknown3,
- DWORD dwUnknown4)
-{
- UNIMPLEMENTED;
- return 0;
-}
-
-DWORD
+BOOL
NTAPI
NtUserPrintWindow(
- DWORD dwUnknown1,
- DWORD dwUnknown2,
- DWORD dwUnknown3)
+ HWND hwnd,
+ HDC hdcBlt,
+ UINT nFlags)
{
UNIMPLEMENTED;
return 0;
@@ -941,12 +943,12 @@
return 0;
}
-DWORD
+BOOL
NTAPI
NtUserRegisterRawInputDevices(
- DWORD dwUnknown1,
- DWORD dwUnknown2,
- DWORD dwUnknown3)
+ IN PCRAWINPUTDEVICE pRawInputDevices,
+ IN UINT uiNumDevices,
+ IN UINT cbSize)
{
UNIMPLEMENTED;
return 0;
@@ -1017,7 +1019,7 @@
return 0;
}
-DWORD
+BOOL
NTAPI
NtUserSoundSentry(VOID)
{
@@ -1070,13 +1072,13 @@
return 0;
}
-DWORD
+BOOL
NTAPI
NtUserGetLayeredWindowAttributes(
- DWORD dwUnknown1,
- DWORD dwUnknown2,
- DWORD dwUnknown3,
- DWORD dwUnknown4)
+ HWND hwnd,
+ COLORREF *pcrKey,
+ BYTE *pbAlpha,
+ DWORD *pdwFlags)
{
UNIMPLEMENTED;
return 0;