Author: tkreuzer
Date: Wed Dec 1 20:29:09 2010
New Revision: 49885
URL:
http://svn.reactos.org/svn/reactos?rev=49885&view=rev
Log:
[CMAKE]
Manual stubs for cabinet
Added:
branches/cmake-bringup/dll/win32/cabinet/stubs.c (with props)
Modified:
branches/cmake-bringup/dll/win32/cabinet/CMakeLists.txt
branches/cmake-bringup/dll/win32/cabinet/cabinet.spec
Modified: branches/cmake-bringup/dll/win32/cabinet/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/cabinet…
==============================================================================
--- branches/cmake-bringup/dll/win32/cabinet/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/cabinet/CMakeLists.txt [iso-8859-1] Wed Dec 1
20:29:09 2010
@@ -9,6 +9,7 @@
cabinet_main.c
fci.c
fdi.c
+ stubs.c
cabinet.rc
${CMAKE_CURRENT_BINARY_DIR}/cabinet.def)
@@ -20,4 +21,4 @@
add_importlibs(cabinet kernel32 ntdll)
add_dependencies(cabinet psdk buildno_header)
-add_cab_target(cabinet 1)
+add_cab_target(cabinet 1)
Modified: branches/cmake-bringup/dll/win32/cabinet/cabinet.spec
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/cabinet…
==============================================================================
--- branches/cmake-bringup/dll/win32/cabinet/cabinet.spec [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/cabinet/cabinet.spec [iso-8859-1] Wed Dec 1 20:29:09
2010
@@ -1,7 +1,7 @@
-1 stub GetDllVersion
+1 stdcall -private GetDllVersion()
2 stdcall -private DllGetVersion (ptr)
3 stdcall Extract(ptr str)
-4 stub DeleteExtractedFiles
+4 stdcall -private DeleteExtractedFiles(ptr)
10 cdecl FCICreate(ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr)
11 cdecl FCIAddFile(long ptr ptr long ptr ptr ptr long)
12 cdecl FCIFlushFolder(long ptr ptr)
Added: branches/cmake-bringup/dll/win32/cabinet/stubs.c
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/cabinet…
==============================================================================
--- branches/cmake-bringup/dll/win32/cabinet/stubs.c (added)
+++ branches/cmake-bringup/dll/win32/cabinet/stubs.c [iso-8859-1] Wed Dec 1 20:29:09
2010
@@ -1,0 +1,22 @@
+#include <windows.h>
+#include <debug.h>
+
+typedef PVOID PSESSION;
+
+VOID
+WINAPI
+DeleteExtractedFiles(
+ PSESSION ps)
+{
+ UNIMPLEMENTED;
+}
+
+
+LPCSTR
+WINAPI
+GetDllVersion(void)
+{
+ /* This is what it returns on Windows XP SP3 */
+ return "5.1.2600.5512";
+}
+
Propchange: branches/cmake-bringup/dll/win32/cabinet/stubs.c
------------------------------------------------------------------------------
svn:eol-style = native