mfplay: Forward playback control methods to the session.
[wine/zf.git] / include / wmdrmsdk.idl
blob35d1a89ac6e346e04c15cf1da0b4d066e4600d1b
1 /*
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
19 import "oaidl.idl";
20 import "ocidl.idl";
21 import "mfobjects.idl";
22 import "mfidl.idl";
24 typedef struct _DRM_MINIMUM_OUTPUT_PROTECTION_LEVELS
26 WORD wCompressedDigitalVideo;
27 WORD wUncompressedDigitalVideo;
28 WORD wAnalogVideo;
29 WORD wCompressedDigitalAudio;
30 WORD wUncompressedDigitalAudio;
31 } DRM_MINIMUM_OUTPUT_PROTECTION_LEVELS;
33 typedef struct _DRM_VIDEO_OUTPUT_PROTECTION
35 GUID guidId;
36 BYTE bConfigData;
37 } DRM_VIDEO_OUTPUT_PROTECTION;
39 typedef struct _DRM_VIDEO_OUTPUT_PROTECTION_IDS
41 WORD cEntries;
42 DRM_VIDEO_OUTPUT_PROTECTION *rgVop;
43 } DRM_VIDEO_OUTPUT_PROTECTION_IDS;
45 typedef struct _DRM_OPL_OUTPUT_IDS
47 WORD cIds;
48 GUID *rgIds;
49 } 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;
56 } DRM_COPY_OPL;
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;
63 } DRM_PLAY_OPL;
67 uuid(82435be0-f7c1-4df9-8103-eeabebf3d6e1),
68 version(1.0)
70 library WMDRMContentEnablerLib
72 importlib("stdole2.tlb");
75 uuid(82435bdf-f7c1-4df9-8103-eeabebf3d6e1)
77 coclass WMDRMContentEnablerActivate
79 [default] interface IPersistStream;