Author: jimtabor
Date: Tue Oct 2 04:56:04 2007
New Revision: 29350
URL:
http://svn.reactos.org/svn/reactos?rev=29350&view=rev
Log:
Fix NtUserGetIconSize prototype.
Modified:
trunk/reactos/include/reactos/win32k/ntuser.h
trunk/reactos/subsystems/win32/win32k/ntuser/ntstubs.c
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 (original)
+++ trunk/reactos/include/reactos/win32k/ntuser.h Tue Oct 2 04:56:04 2007
@@ -1081,13 +1081,13 @@
DWORD dwUnknown5,
DWORD dwUnknown6);
-DWORD
+BOOL
NTAPI
NtUserGetIconSize(
- DWORD dwUnknown1,
- DWORD dwUnknown2,
- DWORD dwUnknown3,
- DWORD dwUnknown4);
+ HANDLE Handle,
+ DWORD Unknown,
+ LONG *plcx,
+ LONG *plcy);
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 (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/ntstubs.c Tue Oct 2 04:56:04 2007
@@ -777,16 +777,16 @@
/* for hints how the prototype might be, see
http://forum.grafika.cz/read.php?23,1816012,1816139,quote=1
http://www.cyber-ta.org/releases/malware-analysis/public/SOURCES/b47155634c…
*/
-DWORD
+BOOL
NTAPI
NtUserGetIconSize(
- DWORD dwUnknown1,
- DWORD dwUnknown2,
- DWORD dwUnknown3,
- DWORD dwUnknown4)
-{
- UNIMPLEMENTED;
- return 0;
+ HANDLE Handle,
+ DWORD dwUnknown2, // Most of the time Zero.
+ PLONG plcx, // &size.cx
+ PLONG plcy) // &size.cy
+{
+ UNIMPLEMENTED;
+ return FALSE;
}
DWORD