1 | /*
|
---|
2 | * Copyright (C) 2002 Alexandre Julliard
|
---|
3 | * Copyright (C) 2004 Vincent Béron
|
---|
4 | *
|
---|
5 | * This library is free software; you can redistribute it and/or
|
---|
6 | * modify it under the terms of the GNU Lesser General Public
|
---|
7 | * License as published by the Free Software Foundation; either
|
---|
8 | * version 2.1 of the License, or (at your option) any later version.
|
---|
9 | *
|
---|
10 | * This library is distributed in the hope that it will be useful,
|
---|
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
13 | * Lesser General Public License for more details.
|
---|
14 | *
|
---|
15 | * You should have received a copy of the GNU Lesser General Public
|
---|
16 | * License along with this library; if not, write to the Free Software
|
---|
17 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
---|
18 | */
|
---|
19 |
|
---|
20 | /*
|
---|
21 | * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
22 | * other than GPL or LGPL is available it will apply instead, Sun elects to use only
|
---|
23 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
24 | * a choice of LGPL license versions is made available with the language indicating
|
---|
25 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
26 | * of the LGPL is applied is otherwise unspecified.
|
---|
27 | */
|
---|
28 |
|
---|
29 | cpp_quote("#if !defined(COM_NO_WINDOWS_H) && !defined(__WINESRC__)")
|
---|
30 | cpp_quote("#include <windows.h>")
|
---|
31 | cpp_quote("#include <ole2.h>")
|
---|
32 | cpp_quote("#endif")
|
---|
33 |
|
---|
34 | import "unknwn.idl";
|
---|
35 | import "objidl.idl";
|
---|
36 |
|
---|
37 | interface IDMOQualityControl;
|
---|
38 | interface IDMOVideoOutputOptimizations;
|
---|
39 | interface IMediaBuffer;
|
---|
40 | interface IMediaObject;
|
---|
41 | interface IMediaObjectInPlace;
|
---|
42 |
|
---|
43 | typedef struct _DMOMediaType
|
---|
44 | {
|
---|
45 | GUID majortype;
|
---|
46 | GUID subtype;
|
---|
47 | BOOL bFixedSizeSamples;
|
---|
48 | BOOL bTemporalCompression;
|
---|
49 | ULONG lSampleSize;
|
---|
50 | GUID formattype;
|
---|
51 | IUnknown *pUnk;
|
---|
52 | ULONG cbFormat;
|
---|
53 | BYTE *pbFormat;
|
---|
54 | } DMO_MEDIA_TYPE;
|
---|
55 |
|
---|
56 | /*****************************************************************************
|
---|
57 | * IEnumDMO interface
|
---|
58 | */
|
---|
59 | [
|
---|
60 | object,
|
---|
61 | uuid(2C3CD98A-2BFA-4A53-9C27-5249BA64BA0F),
|
---|
62 | pointer_default(unique)
|
---|
63 | ]
|
---|
64 | interface IEnumDMO : IUnknown
|
---|
65 | {
|
---|
66 | [local]
|
---|
67 | HRESULT Next(
|
---|
68 | [in] DWORD cItemsToFetch,
|
---|
69 | [out] CLSID *pCLSID,
|
---|
70 | [out] WCHAR **Names,
|
---|
71 | [out] DWORD *pcItemsFetched
|
---|
72 | );
|
---|
73 |
|
---|
74 | HRESULT Skip(
|
---|
75 | [in] DWORD cItemsToSkip
|
---|
76 | );
|
---|
77 |
|
---|
78 | HRESULT Reset();
|
---|
79 |
|
---|
80 | HRESULT Clone(
|
---|
81 | [out] IEnumDMO **ppEnum
|
---|
82 | );
|
---|
83 | }
|
---|