[ros-diffs] [greatlrd] 37595: Implement WinWatchClose
greatlrd at svn.reactos.org
greatlrd at svn.reactos.org
Sun Nov 23 18:11:53 CET 2008
Author: greatlrd
Date: Sun Nov 23 11:11:52 2008
New Revision: 37595
URL: http://svn.reactos.org/svn/reactos?rev=37595&view=rev
Log:
Implement WinWatchClose
Modified:
branches/reactx/reactos/dll/win32/dciman32/dciman32.def
branches/reactx/reactos/dll/win32/dciman32/dciman_main.c
Modified: branches/reactx/reactos/dll/win32/dciman32/dciman32.def
URL: http://svn.reactos.org/svn/reactos/branches/reactx/reactos/dll/win32/dciman32/dciman32.def?rev=37595&r1=37594&r2=37595&view=diff
==============================================================================
--- branches/reactx/reactos/dll/win32/dciman32/dciman32.def [iso-8859-1] (original)
+++ branches/reactx/reactos/dll/win32/dciman32/dciman32.def [iso-8859-1] Sun Nov 23 11:11:52 2008
@@ -15,8 +15,8 @@
DCISetSrcDestClip at 16
GetDCRegionData at 12
GetWindowRegionData at 12
-; WinWatchClose
+ WinWatchClose at 4
; WinWatchDidStatusChange
; WinWatchGetClipList
WinWatchNotify at 12
-; WinWatchOpen
+ WinWatchOpen at 4
Modified: branches/reactx/reactos/dll/win32/dciman32/dciman_main.c
URL: http://svn.reactos.org/svn/reactos/branches/reactx/reactos/dll/win32/dciman32/dciman_main.c?rev=37595&r1=37594&r2=37595&view=diff
==============================================================================
--- branches/reactx/reactos/dll/win32/dciman32/dciman_main.c [iso-8859-1] (original)
+++ branches/reactx/reactos/dll/win32/dciman32/dciman_main.c [iso-8859-1] Sun Nov 23 11:11:52 2008
@@ -416,6 +416,19 @@
return (HWINWATCH) pWinwatch_int;
}
+void WINAPI
+WinWatchClose(HWINWATCH hWW)
+{
+ EnterCriticalSection(&ddcs);
+
+ if (hWW != NULL)
+ {
+ HeapFree(GetProcessHeap(), 0, hWW);
+ }
+
+ LeaveCriticalSection(&ddcs);
+}
+
/***********************************************************************************************************/
More information about the Ros-diffs
mailing list