[PATCH] [include] add missing WMT_RIGHTS enum definition

Vijay Kiran Kamuju infyquest at gmail.com
Wed Feb 27 13:11:59 CST 2019


Signed-off-by: Vijay Kiran Kamuju <infyquest at gmail.com>
---
 include/drmexternals.idl | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/include/drmexternals.idl b/include/drmexternals.idl
index 88826ad561..b89039423d 100644
--- a/include/drmexternals.idl
+++ b/include/drmexternals.idl
@@ -1,5 +1,6 @@
 /*
  * Copyright 2017 Alistair Leslie-Hughes
+ * Copyright 2019 Vijay Kiran Kamuju
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -17,3 +18,16 @@
  */
 
 import "wmdrmsdk.idl";
+
+typedef enum WMT_RIGHTS {
+    WMT_RIGHT_PLAYBACK                = 0x00000001,
+    WMT_RIGHT_COPY_TO_NON_SDMI_DEVICE = 0x00000002,
+    WMT_RIGHT_COPY_TO_CD              = 0x00000008,
+    WMT_RIGHT_COPY_TO_SDMI_DEVICE     = 0x00000010,
+    WMT_RIGHT_ONE_TIME                = 0x00000020,
+    WMT_RIGHT_SAVE_STREAM_PROTECTED   = 0x00000040,
+    WMT_RIGHT_COPY                    = 0x00000080,
+    WMT_RIGHT_COLLABORATIVE_PLAY      = 0x00000100,
+    WMT_RIGHT_SDMI_TRIGGER            = 0x00010000,
+    WMT_RIGHT_SDMI_NOMORECOPIES       = 0x00020000
+} WMT_RIGHTS;
-- 
2.21.0




More information about the wine-devel mailing list