[ros-diffs] [greatlrd] 37573: Remove the spec file with def file, no stack coruptions now. implement DCICreateOffscreen, DCICreateOverlay, DCIDraw, DCIEnum, DCISetDestination

greatlrd at svn.reactos.org greatlrd at svn.reactos.org
Sun Nov 23 08:58:19 CET 2008


Author: greatlrd
Date: Sun Nov 23 01:58:18 2008
New Revision: 37573

URL: http://svn.reactos.org/svn/reactos?rev=37573&view=rev
Log:
Remove the spec file with def file, no stack coruptions now.

implement   DCICreateOffscreen, DCICreateOverlay,  DCIDraw, DCIEnum, DCISetDestination

Added:
    branches/reactx/reactos/dll/win32/dciman32/dciman32.def   (with props)
Removed:
    branches/reactx/reactos/dll/win32/dciman32/dciman32.spec
Modified:
    branches/reactx/reactos/dll/win32/dciman32/dciman32.rbuild
    branches/reactx/reactos/dll/win32/dciman32/dciman_main.c

Added: branches/reactx/reactos/dll/win32/dciman32/dciman32.def
URL: http://svn.reactos.org/svn/reactos/branches/reactx/reactos/dll/win32/dciman32/dciman32.def?rev=37573&view=auto
==============================================================================
--- branches/reactx/reactos/dll/win32/dciman32/dciman32.def (added)
+++ branches/reactx/reactos/dll/win32/dciman32/dciman32.def [iso-8859-1] Sun Nov 23 01:58:18 2008
@@ -1,0 +1,22 @@
+
+EXPORTS
+;  DCIBeginAccess
+  DCICloseProvider at 4
+  DCICreateOffscreen at 40
+  DCICreateOverlay at 12
+  DCICreatePrimary at 8
+;  DCIDestroy
+  DCIDraw at 4
+;  DCIEndAccess
+  DCIEnum at 20
+  DCIOpenProvider at 0
+;  DCISetClipList 
+  DCISetDestination at 12
+;  DCISetSrcDestClip 
+;  GetDCRegionData
+;  GetWindowRegionData
+;  WinWatchClose
+;  WinWatchDidStatusChange
+;  WinWatchGetClipList
+;  WinWatchNotify 
+;  WinWatchOpen

Propchange: branches/reactx/reactos/dll/win32/dciman32/dciman32.def
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: branches/reactx/reactos/dll/win32/dciman32/dciman32.rbuild
URL: http://svn.reactos.org/svn/reactos/branches/reactx/reactos/dll/win32/dciman32/dciman32.rbuild?rev=37573&r1=37572&r2=37573&view=diff
==============================================================================
--- branches/reactx/reactos/dll/win32/dciman32/dciman32.rbuild [iso-8859-1] (original)
+++ branches/reactx/reactos/dll/win32/dciman32/dciman32.rbuild [iso-8859-1] Sun Nov 23 01:58:18 2008
@@ -2,13 +2,13 @@
 <!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
 <group>
 <module name="dciman32" type="win32dll" baseaddress="${BASEADDRESS_DCIMAN32}" installbase="system32" installname="dciman32.dll" allowwarnings="true">
-	<importlibrary definition="dciman32.spec" />
+	<importlibrary definition="dciman32.def" />
 	<include base="dciman32">.</include>
-	<file>dciman_main.c</file>
-	<file>dciman32.spec</file>
 	<library>kernel32</library>
 	<library>ntdll</library>
 	<library>gdi32</library>	
-	<library>user32</library>	
+	<library>user32</library>
+		
+	<file>dciman_main.c</file>	
 </module>
 </group>

Removed: branches/reactx/reactos/dll/win32/dciman32/dciman32.spec
URL: http://svn.reactos.org/svn/reactos/branches/reactx/reactos/dll/win32/dciman32/dciman32.spec?rev=37572&view=auto
==============================================================================
--- branches/reactx/reactos/dll/win32/dciman32/dciman32.spec [iso-8859-1] (original)
+++ branches/reactx/reactos/dll/win32/dciman32/dciman32.spec (removed)
@@ -1,21 +1,0 @@
-@ stub    DCIBeginAccess
-@ stdcall DCICloseProvider(long)
-@ stub    DCICreateOffscreen
-@ stub    DCICreateOverlay
-@ stdcall DCICreatePrimary(long ptr)
-@ stub    DCIDestroy
-@ stub    DCIDraw
-@ stub    DCIEndAccess
-@ stub    DCIEnum
-@ stdcall DCIOpenProvider()
-@ stub    DCISetClipList
-@ stub    DCISetDestination
-@ stub    DCISetSrcDestClip
-@ stdcall -private DllEntryPoint(long long ptr) DllMain
-@ stub    GetDCRegionData
-@ stub    GetWindowRegionData
-@ stub    WinWatchClose
-@ stub    WinWatchDidStatusChange
-@ stub    WinWatchGetClipList
-@ stub    WinWatchNotify
-@ stub    WinWatchOpen

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=37573&r1=37572&r2=37573&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 01:58:18 2008
@@ -262,4 +262,115 @@
 }
 
 
-
+/*++
+* @name int WINAPI DCICreateOffscreen(HDC hdc)
+* @implemented
+*
+* Not supported in windows, it only return DCI_FAIL_UNSUPPORTED.
+
+* @return
+* DCI_FAIL_UNSUPPORTED
+*
+* @remarks.
+* None
+*
+*--*/
+int WINAPI 
+DCICreateOffscreen(HDC hdc,
+                   DWORD dwCompression,
+                   DWORD dwRedMask,
+                   DWORD dwGreenMask,
+                   DWORD dwBlueMask,
+                   DWORD dwWidth,
+                   DWORD dwHeight,
+                   DWORD dwDCICaps,
+                   DWORD dwBitCount,
+                   LPDCIOFFSCREEN *lplpSurface)
+{
+    return DCI_FAIL_UNSUPPORTED;
+}
+
+/*++
+* @name int WINAPI DCICreateOverlay(HDC hdc, LPVOID lpOffscreenSurf, LPDCIOVERLAY *lplpSurface)
+* @implemented
+*
+* Not supported in windows, it only return DCI_FAIL_UNSUPPORTED.
+
+* @return
+* DCI_FAIL_UNSUPPORTED
+*
+* @remarks.
+* None
+*
+*--*/
+int WINAPI 
+DCICreateOverlay(HDC hdc,
+                 LPVOID lpOffscreenSurf,
+                 LPDCIOVERLAY *lplpSurface)
+{
+    return DCI_FAIL_UNSUPPORTED;
+}
+
+/*++
+* @name DCIRVAL WINAPI DCISetDestination(LPDCIOFFSCREEN pdci, LPRECT dst, LPRECT src)
+* @implemented
+*
+* Not supported in windows, it only return DCI_FAIL_UNSUPPORTED.
+
+* @return
+* DCI_FAIL_UNSUPPORTED
+*
+* @remarks.
+* None
+*
+*--*/
+DCIRVAL WINAPI
+DCISetDestination(LPDCIOFFSCREEN pdci, LPRECT dst, LPRECT src)
+{
+    return DCI_FAIL_UNSUPPORTED;
+}
+
+/*++
+* @name DCIRVAL WINAPI DCIDraw(LPDCIOFFSCREEN pdci)
+* @implemented
+*
+* Not supported in windows, it only return DCI_FAIL_UNSUPPORTED.
+
+* @return
+* DCI_FAIL_UNSUPPORTED
+*
+* @remarks.
+* None
+*
+*--*/
+DCIRVAL WINAPI
+DCIDraw(LPDCIOFFSCREEN pdci)
+{
+    return DCI_FAIL_UNSUPPORTED;
+}
+
+/*++
+* @name int WINAPI DCIEnum(HDC hdc, LPRECT lprDst, LPRECT lprSrc, LPVOID lpFnCallback, LPVOID lpContext);
+* @implemented
+*
+* Not supported in windows, it only return DCI_FAIL_UNSUPPORTED.
+
+* @return
+* DCI_FAIL_UNSUPPORTED
+*
+* @remarks.
+* None
+*
+*--*/
+int WINAPI
+DCIEnum(HDC hdc,
+        LPRECT lprDst,
+        LPRECT lprSrc,
+        LPVOID lpFnCallback,
+        LPVOID lpContext)
+{
+    return DCI_FAIL_UNSUPPORTED;
+}
+
+
+



More information about the Ros-diffs mailing list