wine/include/mediaobj.idl

75 lines
1.9 KiB
Plaintext
Raw Normal View History

2002-03-12 19:20:44 +00:00
/*
* Copyright (C) 2002 Alexandre Julliard
2004-10-04 20:39:33 +00:00
* Copyright (C) 2004 Vincent B<>ron
2002-03-12 19:20:44 +00:00
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
2004-10-04 20:39:33 +00:00
cpp_quote("#ifndef COM_NO_WINDOWS_H")
cpp_quote("#include <windows.h>")
cpp_quote("#include <ole2.h>")
cpp_quote("#endif")
2002-03-12 19:20:44 +00:00
2004-10-04 20:39:33 +00:00
import "unknwn.idl";
import "objidl.idl";
2002-03-12 19:20:44 +00:00
2004-10-04 20:39:33 +00:00
interface IDMOQualityControl;
interface IDMOVideoOutputOptimizations;
interface IMediaBuffer;
interface IMediaObject;
interface IMediaObjectInPlace;
2002-03-12 19:20:44 +00:00
typedef struct _DMOMediaType
2002-03-12 19:20:44 +00:00
{
GUID majortype;
GUID subtype;
BOOL bFixedSizeSamples;
BOOL bTemporalCompression;
ULONG lSampleSize;
GUID formattype;
IUnknown *pUnk;
ULONG cbFormat;
BYTE *pbFormat;
2002-03-12 19:20:44 +00:00
} DMO_MEDIA_TYPE;
2004-10-04 20:39:33 +00:00
/*****************************************************************************
* IEnumDMO interface
*/
[
object,
uuid(2C3CD98A-2BFA-4A53-9C27-5249BA64BA0F),
pointer_default(unique)
]
interface IEnumDMO : IUnknown
{
[local]
HRESULT Next(
[in] DWORD cItemsToFetch,
[out] CLSID *pCLSID,
[out] WCHAR **Names,
[out] DWORD *pcItemsFetched
);
HRESULT Skip(
[in] DWORD cItemsToSkip
);
HRESULT Reset();
HRESULT Clone(
[out] IEnumDMO **ppEnum
);
}