2 * Copyright 2017 Alistair Leslie-Hughes
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 import
"mfobjects.idl";
24 typedef struct _DRM_MINIMUM_OUTPUT_PROTECTION_LEVELS
26 WORD wCompressedDigitalVideo
;
27 WORD wUncompressedDigitalVideo
;
29 WORD wCompressedDigitalAudio
;
30 WORD wUncompressedDigitalAudio
;
31 } DRM_MINIMUM_OUTPUT_PROTECTION_LEVELS
;
33 typedef struct _DRM_VIDEO_OUTPUT_PROTECTION
37 } DRM_VIDEO_OUTPUT_PROTECTION
;
39 typedef struct _DRM_VIDEO_OUTPUT_PROTECTION_IDS
42 DRM_VIDEO_OUTPUT_PROTECTION
*rgVop
;
43 } DRM_VIDEO_OUTPUT_PROTECTION_IDS
;
45 typedef struct _DRM_OPL_OUTPUT_IDS
51 typedef struct __tagDRM_COPY_OPL
53 WORD wMinimumCopyLevel
;
54 DRM_OPL_OUTPUT_IDS oplIdIncludes
;
55 DRM_OPL_OUTPUT_IDS oplIdExcludes
;
58 typedef struct __tagDRM_PLAY_OPL
60 DRM_MINIMUM_OUTPUT_PROTECTION_LEVELS minOPL
;
61 DRM_OPL_OUTPUT_IDS oplIdReserved
;
62 DRM_VIDEO_OUTPUT_PROTECTION_IDS vopi
;
67 uuid(82435be0
-f7c1
-4df9
-8103-eeabebf3d6e1
),
70 library WMDRMContentEnablerLib
72 importlib
("stdole2.tlb");
75 uuid(82435bdf
-f7c1
-4df9
-8103-eeabebf3d6e1
)
77 coclass WMDRMContentEnablerActivate
79 [default] interface IPersistStream
;