Create mediaobj.h from mediaobj.idl.
This commit is contained in:
parent
11d550dfa8
commit
f676cb521d
|
@ -9,6 +9,7 @@ ddstream.h
|
||||||
dispex.h
|
dispex.h
|
||||||
docobj.h
|
docobj.h
|
||||||
exdisp.h
|
exdisp.h
|
||||||
|
mediaobj.h
|
||||||
mlang.h
|
mlang.h
|
||||||
mmstream.h
|
mmstream.h
|
||||||
oaidl.h
|
oaidl.h
|
||||||
|
|
|
@ -14,6 +14,7 @@ IDL_SRCS = \
|
||||||
dispex.idl \
|
dispex.idl \
|
||||||
docobj.idl \
|
docobj.idl \
|
||||||
exdisp.idl \
|
exdisp.idl \
|
||||||
|
mediaobj.idl \
|
||||||
mlang.idl \
|
mlang.idl \
|
||||||
mmstream.idl \
|
mmstream.idl \
|
||||||
oaidl.idl \
|
oaidl.idl \
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2002 Alexandre Julliard
|
* Copyright (C) 2002 Alexandre Julliard
|
||||||
|
* Copyright (C) 2004 Vincent Béron
|
||||||
*
|
*
|
||||||
* This library is free software; you can redistribute it and/or
|
* This library is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
|
@ -16,25 +17,19 @@
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <rpc.h>
|
cpp_quote("#ifndef COM_NO_WINDOWS_H")
|
||||||
#include <rpcndr.h>
|
cpp_quote("#include <windows.h>")
|
||||||
#ifndef COM_NO_WINDOWS_H
|
cpp_quote("#include <ole2.h>")
|
||||||
#include <windows.h>
|
cpp_quote("#endif")
|
||||||
#include <ole2.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef __mediaobj_h__
|
import "unknwn.idl";
|
||||||
#define __mediaobj_h__
|
import "objidl.idl";
|
||||||
|
|
||||||
typedef struct IDMOQualityControl IDMOQualityControl;
|
interface IDMOQualityControl;
|
||||||
typedef struct IDMOVideoOutputOptimizations IDMOVideoOutputOptimizations;
|
interface IDMOVideoOutputOptimizations;
|
||||||
typedef struct IEnumDMO IEnumDMO;
|
interface IMediaBuffer;
|
||||||
typedef struct IMediaBuffer IMediaBuffer;
|
interface IMediaObject;
|
||||||
typedef struct IMediaObject IMediaObject;
|
interface IMediaObjectInPlace;
|
||||||
typedef struct IMediaObjectInPlace IMediaObjectInPlace;
|
|
||||||
|
|
||||||
#include <unknwn.h>
|
|
||||||
#include <objidl.h>
|
|
||||||
|
|
||||||
typedef struct _DMOMediaType
|
typedef struct _DMOMediaType
|
||||||
{
|
{
|
||||||
|
@ -49,15 +44,31 @@ typedef struct _DMOMediaType
|
||||||
BYTE *pbFormat;
|
BYTE *pbFormat;
|
||||||
} DMO_MEDIA_TYPE;
|
} DMO_MEDIA_TYPE;
|
||||||
|
|
||||||
#define INTERFACE IEnumDMO
|
/*****************************************************************************
|
||||||
#define IEnumDMO_METHODS \
|
* IEnumDMO interface
|
||||||
IUnknown_METHODS \
|
*/
|
||||||
STDMETHOD(Next)(THIS_ DWORD cItemsToFetch, CLSID * pCLSID, \
|
[
|
||||||
WCHAR ** Names, DWORD * pcItemsFectched) PURE; \
|
object,
|
||||||
STDMETHOD(Skip)(THIS_ DWORD cItemsToSkip) PURE; \
|
uuid(2C3CD98A-2BFA-4A53-9C27-5249BA64BA0F),
|
||||||
STDMETHOD(Reset)(THIS) PURE; \
|
pointer_default(unique)
|
||||||
STDMETHOD(Clone)(THIS_ IEnumDMO ** ppEnum) PURE;
|
]
|
||||||
DECLARE_INTERFACE_(IEnumDMO,IUnknown) { IEnumDMO_METHODS };
|
interface IEnumDMO : IUnknown
|
||||||
#undef INTERFACE
|
{
|
||||||
|
[local]
|
||||||
|
HRESULT Next(
|
||||||
|
[in] DWORD cItemsToFetch,
|
||||||
|
[out] CLSID *pCLSID,
|
||||||
|
[out] WCHAR **Names,
|
||||||
|
[out] DWORD *pcItemsFetched
|
||||||
|
);
|
||||||
|
|
||||||
#endif /* __mediaobj_h__ */
|
HRESULT Skip(
|
||||||
|
[in] DWORD cItemsToSkip
|
||||||
|
);
|
||||||
|
|
||||||
|
HRESULT Reset();
|
||||||
|
|
||||||
|
HRESULT Clone(
|
||||||
|
[out] IEnumDMO **ppEnum
|
||||||
|
);
|
||||||
|
}
|
Loading…
Reference in New Issue