Author: sginsberg
Date: Sun Oct 26 09:25:12 2008
New Revision: 36988
URL:
http://svn.reactos.org/svn/reactos?rev=36988&view=rev
Log:
- Make user32 compile and link by defining Get/SetClass/WindowLongPtrA/W
Modified:
branches/ros-amd64-bringup/reactos/dll/win32/user32/user32.spec
branches/ros-amd64-bringup/reactos/dll/win32/user32/windows/class.c
Modified: branches/ros-amd64-bringup/reactos/dll/win32/user32/user32.spec
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/dll/w…
==============================================================================
--- branches/ros-amd64-bringup/reactos/dll/win32/user32/user32.spec [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/dll/win32/user32/user32.spec [iso-8859-1] Sun Oct
26 09:25:12 2008
@@ -256,8 +256,11 @@
@ stdcall GetClassInfoW(long wstr ptr)
@ stdcall GetClassLongA(long long)
@ stdcall GetClassLongW(long long)
-@ stub GetClassLongPtrA
-@ stub GetClassLongPtrW
+
+; FIXME -- Only for Win64
+@ stdcall GetClassLongPtrA(ptr long)
+@ stdcall GetClassLongPtrW(ptr long)
+
@ stdcall GetClassNameA(long ptr long)
@ stdcall GetClassNameW(long ptr long)
@ stdcall GetClassWord(long long)
@@ -375,8 +378,11 @@
@ stdcall GetWindowDC(long)
@ stdcall GetWindowInfo(long ptr)
@ stdcall GetWindowLongA(long long)
-@ stub GetWindowLongPtrA
-@ stub GetWindowLongPtrW
+
+; FIXME -- Only for Win64
+@ stdcall GetWindowLongPtrA(ptr long)
+@ stdcall GetWindowLongPtrW(ptr long)
+
@ stdcall GetWindowLongW(long long)
@ stdcall GetWindowModuleFileName(long ptr long) GetWindowModuleFileNameA
@ stdcall GetWindowModuleFileNameA(long ptr long)
@@ -603,8 +609,11 @@
@ stdcall SetCaretBlinkTime(long)
@ stdcall SetCaretPos(long long)
@ stdcall SetClassLongA(long long long)
-@ stub SetClassLongPtrA #(long long long)
-@ stub SetClassLongPtrW #(long long long)
+
+; FIXME -- Only for Win64
+@ stdcall SetClassLongPtrA(ptr long ptr)
+@ stdcall SetClassLongPtrW(ptr long ptr)
+
@ stdcall SetClassLongW(long long long)
@ stdcall SetClassWord(long long long)
@ stdcall SetClipboardData(long long)
@@ -665,8 +674,11 @@
@ stdcall SetWindowContextHelpId(long long)
@ stub SetWindowFullScreenState
@ stdcall SetWindowLongA(long long long)
-@ stub SetWindowLongPtrA #(long long long)
-@ stub SetWindowLongPtrW #(long long long)
+
+; FIXME -- Only for Win64
+@ stdcall SetWindowLongPtrA(ptr long ptr)
+@ stdcall SetWindowLongPtrW(ptr long ptr)
+
@ stdcall SetWindowLongW(long long long)
@ stdcall SetWindowPlacement(long ptr)
@ stdcall SetWindowPos(long long long long long long long)
Modified: branches/ros-amd64-bringup/reactos/dll/win32/user32/windows/class.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/dll/w…
==============================================================================
--- branches/ros-amd64-bringup/reactos/dll/win32/user32/windows/class.c [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/dll/win32/user32/windows/class.c [iso-8859-1] Sun
Oct 26 09:25:12 2008
@@ -410,6 +410,32 @@
return Ret;
}
+#ifdef _WIN64
+/*
+ * @unimplemented
+ */
+ULONG_PTR
+WINAPI
+GetClassLongPtrA(HWND hWnd,
+ INT nIndex)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+/*
+ * @unimplemented
+ */
+ULONG_PTR
+WINAPI
+GetClassLongPtrW(HWND hWnd,
+ INT nIndex)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+#endif
+
/*
* @implemented
@@ -602,6 +628,32 @@
}
}
+#ifdef _WIN64
+/*
+ * @unimplemented
+ */
+LONG_PTR
+WINAPI
+GetWindowLongPtrA(HWND hWnd,
+ INT nIndex)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+/*
+ * @unimplemented
+ */
+LONG_PTR
+WINAPI
+GetWindowLongPtrW(HWND hWnd,
+ INT nIndex)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+#endif // _WIN64
+
/*
* @implemented
*/
@@ -1159,6 +1211,33 @@
FALSE);
}
+#ifdef _WIN64
+/*
+ * @unimplemented
+ */
+ULONG_PTR
+WINAPI
+SetClassLongPtrA(HWND hWnd,
+ INT nIndex,
+ LONG_PTR dwNewLong)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+/*
+ * @unimplemented
+ */
+ULONG_PTR
+WINAPI
+SetClassLongPtrW(HWND hWnd,
+ INT nIndex,
+ LONG_PTR dwNewLong)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+#endif // _WIN64
/*
* @implemented
@@ -1207,6 +1286,33 @@
return NtUserSetWindowLong(hWnd, nIndex, dwNewLong, FALSE);
}
+#ifdef _WIN64
+/*
+ * @unimplemented
+ */
+LONG_PTR
+WINAPI
+SetWindowLongPtrA(HWND hWnd,
+ INT nIndex,
+ LONG_PTR dwNewLong)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+
+/*
+ * @unimplemented
+ */
+LONG_PTR
+WINAPI
+SetWindowLongPtrW(HWND hWnd,
+ INT nIndex,
+ LONG_PTR dwNewLong)
+{
+ UNIMPLEMENTED;
+ return 0;
+}
+#endif
/*
* @implemented