Nikolay Sivov : include: Update MF resolver flags.

Alexandre Julliard julliard at winehq.org
Mon Mar 9 17:42:36 CDT 2020


Module: wine
Branch: master
Commit: 6c3dbcdf436675bf5c297d7c451a1ba24bdfde95
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=6c3dbcdf436675bf5c297d7c451a1ba24bdfde95

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Mon Mar  9 19:39:23 2020 +0300

include: Update MF resolver flags.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 include/mfidl.idl | 21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)

diff --git a/include/mfidl.idl b/include/mfidl.idl
index 82f69518df..fc9173864a 100644
--- a/include/mfidl.idl
+++ b/include/mfidl.idl
@@ -925,13 +925,20 @@ interface IMFMediaSourceTopologyProvider : IUnknown
     HRESULT GetMediaSourceTopology([in] IMFPresentationDescriptor *pd, [out] IMFTopology **topology);
 }
 
-cpp_quote("#define MF_RESOLUTION_MEDIASOURCE                                           0x00000001")
-cpp_quote("#define MF_RESOLUTION_BYTESTREAM                                            0x00000002")
-cpp_quote("#define MF_RESOLUTION_CONTENT_DOES_NOT_HAVE_TO_MATCH_EXTENSION_OR_MIME_TYPE 0x00000010")
-cpp_quote("#define MF_RESOLUTION_KEEP_BYTE_STREAM_ALIVE_ON_FAIL                        0x00000020")
-cpp_quote("#define MF_RESOLUTION_READ                                                  0x00010000")
-cpp_quote("#define MF_RESOLUTION_WRITE                                                 0x00020000")
-cpp_quote("#define MF_RESOLUTION_DISABLE_LOCAL_PLUGINS                                 0x00000040")
+enum
+{
+    MF_RESOLUTION_MEDIASOURCE                                           = 0x00000001,
+    MF_RESOLUTION_BYTESTREAM                                            = 0x00000002,
+    MF_RESOLUTION_CONTENT_DOES_NOT_HAVE_TO_MATCH_EXTENSION_OR_MIME_TYPE = 0x00000010,
+    MF_RESOLUTION_KEEP_BYTE_STREAM_ALIVE_ON_FAIL                        = 0x00000020,
+    MF_RESOLUTION_DISABLE_LOCAL_PLUGINS                                 = 0x00000040,
+    MF_RESOLUTION_PLUGIN_CONTROL_POLICY_APPROVED_ONLY                   = 0x00000080,
+    MF_RESOLUTION_PLUGIN_CONTROL_POLICY_WEB_ONLY                        = 0x00000100,
+    MF_RESOLUTION_PLUGIN_CONTROL_POLICY_WEB_ONLY_EDGEMODE               = 0x00000200,
+    MF_RESOLUTION_ENABLE_STORE_PLUGINS                                  = 0x00000400,
+    MF_RESOLUTION_READ                                                  = 0x00010000,
+    MF_RESOLUTION_WRITE                                                 = 0x00020000,
+};
 
 cpp_quote("#ifdef __cplusplus")
 cpp_quote("static inline HRESULT MFSetAttributeSize(IMFAttributes *attributes, REFGUID key, UINT32 width, UINT32 height)")




More information about the wine-cvs mailing list