Implement SHGetPathFromIDList based on GetDisplayNameOf.
[wine/multimedia.git] / include / mediaobj.idl
blob55b62be26aa333cc7c17b299dfab0f911e779ae4
1 /*
2 * Copyright (C) 2002 Alexandre Julliard
3 * Copyright (C) 2004 Vincent BĂ©ron
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.
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.
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 cpp_quote("#ifndef COM_NO_WINDOWS_H")
21 cpp_quote("#include <windows.h>")
22 cpp_quote("#include <ole2.h>")
23 cpp_quote("#endif")
25 import "unknwn.idl";
26 import "objidl.idl";
28 interface IDMOQualityControl;
29 interface IDMOVideoOutputOptimizations;
30 interface IMediaBuffer;
31 interface IMediaObject;
32 interface IMediaObjectInPlace;
34 typedef struct _DMOMediaType
36 GUID majortype;
37 GUID subtype;
38 BOOL bFixedSizeSamples;
39 BOOL bTemporalCompression;
40 ULONG lSampleSize;
41 GUID formattype;
42 IUnknown *pUnk;
43 ULONG cbFormat;
44 BYTE *pbFormat;
45 } DMO_MEDIA_TYPE;
47 /*****************************************************************************
48 * IEnumDMO interface
51 object,
52 uuid(2C3CD98A-2BFA-4A53-9C27-5249BA64BA0F),
53 pointer_default(unique)
55 interface IEnumDMO : IUnknown
57 [local]
58 HRESULT Next(
59 [in] DWORD cItemsToFetch,
60 [out] CLSID *pCLSID,
61 [out] WCHAR **Names,
62 [out] DWORD *pcItemsFetched
65 HRESULT Skip(
66 [in] DWORD cItemsToSkip
69 HRESULT Reset();
71 HRESULT Clone(
72 [out] IEnumDMO **ppEnum