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/dciman…
==============================================================================
--- 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@4
+ DCICreateOffscreen@40
+ DCICreateOverlay@12
+ DCICreatePrimary@8
+; DCIDestroy
+ DCIDraw@4
+; DCIEndAccess
+ DCIEnum@20
+ DCIOpenProvider@0
+; DCISetClipList
+ DCISetDestination@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/dciman…
==============================================================================
--- 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/dciman…
==============================================================================
--- 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/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
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;
+}
+
+
+