[ros-diffs] [tkreuzer] 49685: [MSDMO] add proper stubs

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Sun Nov 21 13:21:06 UTC 2010


Author: tkreuzer
Date: Sun Nov 21 13:21:05 2010
New Revision: 49685

URL: http://svn.reactos.org/svn/reactos?rev=49685&view=rev
Log:
[MSDMO]
add proper stubs

Added:
    branches/cmake-bringup/dll/directx/msdmo/stubs.c   (with props)
Modified:
    branches/cmake-bringup/dll/directx/msdmo/CMakeLists.txt
    branches/cmake-bringup/dll/directx/msdmo/msdmo.spec

Modified: branches/cmake-bringup/dll/directx/msdmo/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/directx/msdmo/CMakeLists.txt?rev=49685&r1=49684&r2=49685&view=diff
==============================================================================
--- branches/cmake-bringup/dll/directx/msdmo/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/directx/msdmo/CMakeLists.txt [iso-8859-1] Sun Nov 21 13:21:05 2010
@@ -9,6 +9,7 @@
 add_library(msdmo SHARED
     dmoreg.c
     dmort.c
+    stubs.c
     rsrc.rc
     ${CMAKE_CURRENT_BINARY_DIR}/msdmo.def)
 
@@ -27,4 +28,4 @@
 
 add_dependencies(msdmo dxsdk psdk buildno_header)
 
-add_cab_target(msdmo 1)
+add_cab_target(msdmo 1)

Modified: branches/cmake-bringup/dll/directx/msdmo/msdmo.spec
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/directx/msdmo/msdmo.spec?rev=49685&r1=49684&r2=49685&view=diff
==============================================================================
--- branches/cmake-bringup/dll/directx/msdmo/msdmo.spec [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/directx/msdmo/msdmo.spec [iso-8859-1] Sun Nov 21 13:21:05 2010
@@ -1,11 +1,11 @@
 @ stdcall DMOEnum(ptr long long ptr long ptr ptr)
 @ stdcall DMOGetName(ptr wstr)
 @ stdcall DMOGetTypes(ptr long ptr ptr long ptr ptr)
-@ stub    DMOGuidToStrA
-@ stub    DMOGuidToStrW
+@ stdcall DMOGuidToStrA(long long)
+@ stdcall DMOGuidToStrW(long long)
 @ stdcall DMORegister(wstr ptr ptr long long ptr long ptr)
-@ stub    DMOStrToGuidA
-@ stub    DMOStrToGuidW
+@ stdcall DMOStrToGuidA(long long)
+@ stdcall DMOStrToGuidW(long long)
 @ stdcall DMOUnregister(ptr ptr)
 @ stdcall MoCopyMediaType(ptr ptr)
 @ stdcall MoCreateMediaType(ptr long)

Added: branches/cmake-bringup/dll/directx/msdmo/stubs.c
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/directx/msdmo/stubs.c?rev=49685&view=auto
==============================================================================
--- branches/cmake-bringup/dll/directx/msdmo/stubs.c (added)
+++ branches/cmake-bringup/dll/directx/msdmo/stubs.c [iso-8859-1] Sun Nov 21 13:21:05 2010
@@ -1,0 +1,32 @@
+
+#include <windows.h>
+#define NDEBUG
+#include <debug.h>
+
+void
+WINAPI
+DMOGuidToStrA(DWORD Unknown1, DWORD Unknown2)
+{
+    UNIMPLEMENTED;
+}
+
+void
+WINAPI
+DMOGuidToStrW(DWORD Unknown1, DWORD Unknown2)
+{
+    UNIMPLEMENTED;
+}
+
+void
+WINAPI
+DMOStrToGuidA(DWORD Unknown1, DWORD Unknown2)
+{
+    UNIMPLEMENTED;
+}
+
+void
+WINAPI
+DMOStrToGuidW(DWORD Unknown1, DWORD Unknown2)
+{
+    UNIMPLEMENTED;
+}

Propchange: branches/cmake-bringup/dll/directx/msdmo/stubs.c
------------------------------------------------------------------------------
    svn:eol-style = native




More information about the Ros-diffs mailing list