=?UTF-8?Q?Michael=20M=C3=BCller=20?=: quartz: Improve stubs for AMCertifiedOutputProtection.

Alexandre Julliard julliard at winehq.org
Mon Nov 11 14:08:16 CST 2013


Module: wine
Branch: master
Commit: 1b5026424b767d699c8c9f1ac743ddb357d16ae3
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1b5026424b767d699c8c9f1ac743ddb357d16ae3

Author: Michael Müller <michael at fds-team.de>
Date:   Sun Nov 10 20:44:10 2013 +0100

quartz: Improve stubs for AMCertifiedOutputProtection.

---

 dlls/quartz/vmr9.c |    8 ++++----
 include/vfwmsgs.h  |    1 +
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/dlls/quartz/vmr9.c b/dlls/quartz/vmr9.c
index cd1e139..dc6b4fc 100644
--- a/dlls/quartz/vmr9.c
+++ b/dlls/quartz/vmr9.c
@@ -1120,7 +1120,7 @@ static HRESULT WINAPI AMCertifiedOutputProtection_KeyExchange(IAMCertifiedOutput
     struct quartz_vmr *This = impl_from_IAMCertifiedOutputProtection(iface);
 
     FIXME("(%p/%p)->(%p, %p, %p) stub\n", iface, This, pRandom, VarLenCertGH, pdwLengthCertGH);
-    return E_NOTIMPL;
+    return VFW_E_NO_COPP_HW;
 }
 
 static HRESULT WINAPI AMCertifiedOutputProtection_SessionSequenceStart(IAMCertifiedOutputProtection *iface,
@@ -1129,7 +1129,7 @@ static HRESULT WINAPI AMCertifiedOutputProtection_SessionSequenceStart(IAMCertif
     struct quartz_vmr *This = impl_from_IAMCertifiedOutputProtection(iface);
 
     FIXME("(%p/%p)->(%p) stub\n", iface, This, pSig);
-    return E_NOTIMPL;
+    return VFW_E_NO_COPP_HW;
 }
 
 static HRESULT WINAPI AMCertifiedOutputProtection_ProtectionCommand(IAMCertifiedOutputProtection *iface,
@@ -1138,7 +1138,7 @@ static HRESULT WINAPI AMCertifiedOutputProtection_ProtectionCommand(IAMCertified
     struct quartz_vmr *This = impl_from_IAMCertifiedOutputProtection(iface);
 
     FIXME("(%p/%p)->(%p) stub\n", iface, This, cmd);
-    return E_NOTIMPL;
+    return VFW_E_NO_COPP_HW;
 }
 
 static HRESULT WINAPI AMCertifiedOutputProtection_ProtectionStatus(IAMCertifiedOutputProtection *iface,
@@ -1148,7 +1148,7 @@ static HRESULT WINAPI AMCertifiedOutputProtection_ProtectionStatus(IAMCertifiedO
     struct quartz_vmr *This = impl_from_IAMCertifiedOutputProtection(iface);
 
     FIXME("(%p/%p)->(%p, %p) stub\n", iface, This, pStatusInput, pStatusOutput);
-    return E_NOTIMPL;
+    return VFW_E_NO_COPP_HW;
 }
 
 static const IAMCertifiedOutputProtectionVtbl IAMCertifiedOutputProtection_Vtbl =
diff --git a/include/vfwmsgs.h b/include/vfwmsgs.h
index 16b25c3..660ee40 100644
--- a/include/vfwmsgs.h
+++ b/include/vfwmsgs.h
@@ -156,6 +156,7 @@
 #define VFW_E_VMR_NO_AP_SUPPLIED         ((HRESULT)0x80040297)
 #define VFW_E_VMR_NO_DEINTERLACE_HW      ((HRESULT)0x80040298)
 #define VFW_E_DVD_VMR9_INCOMPATIBLEDEC   ((HRESULT)0x8004029A)
+#define VFW_E_NO_COPP_HW                 ((HRESULT)0x8004029B)
 #define VFW_E_BAD_KEY                    ((HRESULT)0x800403F2)
 
 #ifndef E_PROP_ID_UNSUPPORTED




More information about the wine-cvs mailing list