[USER32]
authorAmine Khaldi <amine.khaldi@reactos.org>
Fri, 28 Feb 2014 16:21:10 +0000 (16:21 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Fri, 28 Feb 2014 16:21:10 +0000 (16:21 +0000)
* Mark as hotpatchable.
* Uncomment out the hot patching attribute for ShowCursor() now that the feature is supported.
* More will come.
CORE-7959

svn path=/trunk/; revision=62355

reactos/win32ss/user/user32/CMakeLists.txt
reactos/win32ss/user/user32/windows/cursoricon.c

index 58df58e..8ea0ea1 100644 (file)
@@ -71,7 +71,7 @@ add_library(user32 SHARED
     user32.rc
     ${CMAKE_CURRENT_BINARY_DIR}/user32.def)
 
-set_module_type(user32 win32dll ENTRYPOINT DllMain 12 UNICODE)
+set_module_type(user32 win32dll ENTRYPOINT DllMain 12 UNICODE HOTPATCHABLE)
 target_link_libraries(user32 user32_wsprintf wine win32ksys ${PSEH_LIB})
 
 if(MSVC)
index ba5c1a6..cfe5aa0 100644 (file)
@@ -1252,7 +1252,7 @@ BOOL WINAPI DrawIcon( HDC hdc, INT x, INT y, HICON hIcon )
 /***********************************************************************
  *             ShowCursor (USER32.@)
  */
-INT WINAPI /*DECLSPEC_HOTPATCH*/ ShowCursor( BOOL bShow )
+INT WINAPI DECLSPEC_HOTPATCH ShowCursor( BOOL bShow )
 {
     return NtUserxShowCursor(bShow);
 }