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/dciman…
==============================================================================
--- 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@16
GetDCRegionData@12
GetWindowRegionData@12
-; WinWatchClose
+ WinWatchClose@4
; WinWatchDidStatusChange
; WinWatchGetClipList
WinWatchNotify@12
-; WinWatchOpen
+ WinWatchOpen@4
Modified: branches/reactx/reactos/dll/win32/dciman32/dciman_main.c
URL:
http://svn.reactos.org/svn/reactos/branches/reactx/reactos/dll/win32/dciman…
==============================================================================
--- 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);
+}
+
/***********************************************************************************************************/