~steve-sk2/mingw-w64/oneiric

« back to all changes in this revision

Viewing changes to mingw-w64-headers/direct-x/include/mediaobj.h

  • Committer: Bazaar Package Importer
  • Author(s): Stephen Kitt
  • Date: 2010-11-18 00:04:46 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20101118000446-xe24b423su55onyl
Tags: 1.0+20101003-1
* New maintainer. (Closes: #594371.)
* New upstream snapshot:
  - Includes getopt.h. (Closes: #569914.)
* Build g++ for Win64. (Closes: #600451.)
* Standards-Version 3.9.1 (new packaging).
* Include patch from
  http://mingw-w64.svn.sourceforge.net/viewvc/mingw-w64?view=revision&revision=3715
  as suggested by Rafaël Carré.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*** Autogenerated by WIDL 1.1.44 from mediaobj.idl - Do not edit ***/
 
2
 
 
3
#include <rpc.h>
 
4
#include <rpcndr.h>
 
5
 
 
6
#ifndef __WIDL_MEDIAOBJ_H
 
7
#define __WIDL_MEDIAOBJ_H
 
8
 
 
9
#ifdef __cplusplus
 
10
extern "C" {
 
11
#endif
 
12
 
 
13
/* Headers for imported files */
 
14
 
 
15
#include <unknwn.h>
 
16
#include <objidl.h>
 
17
 
 
18
/* Forward declarations */
 
19
 
 
20
#ifndef __IEnumDMO_FWD_DEFINED__
 
21
#define __IEnumDMO_FWD_DEFINED__
 
22
typedef interface IEnumDMO IEnumDMO;
 
23
#endif
 
24
 
 
25
 
 
26
#if !defined(COM_NO_WINDOWS_H) && !defined(__WINESRC__)
 
27
#include <windows.h>
 
28
#include <ole2.h>
 
29
#endif
 
30
#ifndef __IDMOQualityControl_FWD_DEFINED__
 
31
#define __IDMOQualityControl_FWD_DEFINED__
 
32
typedef interface IDMOQualityControl IDMOQualityControl;
 
33
#endif
 
34
 
 
35
#ifndef __IDMOVideoOutputOptimizations_FWD_DEFINED__
 
36
#define __IDMOVideoOutputOptimizations_FWD_DEFINED__
 
37
typedef interface IDMOVideoOutputOptimizations IDMOVideoOutputOptimizations;
 
38
#endif
 
39
 
 
40
#ifndef __IMediaBuffer_FWD_DEFINED__
 
41
#define __IMediaBuffer_FWD_DEFINED__
 
42
typedef interface IMediaBuffer IMediaBuffer;
 
43
#endif
 
44
 
 
45
#ifndef __IMediaObject_FWD_DEFINED__
 
46
#define __IMediaObject_FWD_DEFINED__
 
47
typedef interface IMediaObject IMediaObject;
 
48
#endif
 
49
 
 
50
#ifndef __IMediaObjectInPlace_FWD_DEFINED__
 
51
#define __IMediaObjectInPlace_FWD_DEFINED__
 
52
typedef interface IMediaObjectInPlace IMediaObjectInPlace;
 
53
#endif
 
54
 
 
55
typedef struct _DMOMediaType {
 
56
    GUID majortype;
 
57
    GUID subtype;
 
58
    BOOL bFixedSizeSamples;
 
59
    BOOL bTemporalCompression;
 
60
    ULONG lSampleSize;
 
61
    GUID formattype;
 
62
    IUnknown *pUnk;
 
63
    ULONG cbFormat;
 
64
    BYTE *pbFormat;
 
65
} DMO_MEDIA_TYPE;
 
66
/*****************************************************************************
 
67
 * IEnumDMO interface
 
68
 */
 
69
#ifndef __IEnumDMO_INTERFACE_DEFINED__
 
70
#define __IEnumDMO_INTERFACE_DEFINED__
 
71
 
 
72
DEFINE_GUID(IID_IEnumDMO, 0x2c3cd98a, 0x2bfa, 0x4a53, 0x9c,0x27, 0x52,0x49,0xba,0x64,0xba,0x0f);
 
73
#if defined(__cplusplus) && !defined(CINTERFACE)
 
74
interface IEnumDMO : public IUnknown
 
75
{
 
76
    virtual HRESULT STDMETHODCALLTYPE Next(
 
77
        DWORD cItemsToFetch,
 
78
        CLSID *pCLSID,
 
79
        WCHAR **Names,
 
80
        DWORD *pcItemsFetched) = 0;
 
81
 
 
82
    virtual HRESULT STDMETHODCALLTYPE Skip(
 
83
        DWORD cItemsToSkip) = 0;
 
84
 
 
85
    virtual HRESULT STDMETHODCALLTYPE Reset(
 
86
        ) = 0;
 
87
 
 
88
    virtual HRESULT STDMETHODCALLTYPE Clone(
 
89
        IEnumDMO **ppEnum) = 0;
 
90
 
 
91
};
 
92
#else
 
93
typedef struct IEnumDMOVtbl {
 
94
    BEGIN_INTERFACE
 
95
 
 
96
    /*** IUnknown methods ***/
 
97
    HRESULT (STDMETHODCALLTYPE *QueryInterface)(
 
98
        IEnumDMO* This,
 
99
        REFIID riid,
 
100
        void **ppvObject);
 
101
 
 
102
    ULONG (STDMETHODCALLTYPE *AddRef)(
 
103
        IEnumDMO* This);
 
104
 
 
105
    ULONG (STDMETHODCALLTYPE *Release)(
 
106
        IEnumDMO* This);
 
107
 
 
108
    /*** IEnumDMO methods ***/
 
109
    HRESULT (STDMETHODCALLTYPE *Next)(
 
110
        IEnumDMO* This,
 
111
        DWORD cItemsToFetch,
 
112
        CLSID *pCLSID,
 
113
        WCHAR **Names,
 
114
        DWORD *pcItemsFetched);
 
115
 
 
116
    HRESULT (STDMETHODCALLTYPE *Skip)(
 
117
        IEnumDMO* This,
 
118
        DWORD cItemsToSkip);
 
119
 
 
120
    HRESULT (STDMETHODCALLTYPE *Reset)(
 
121
        IEnumDMO* This);
 
122
 
 
123
    HRESULT (STDMETHODCALLTYPE *Clone)(
 
124
        IEnumDMO* This,
 
125
        IEnumDMO **ppEnum);
 
126
 
 
127
    END_INTERFACE
 
128
} IEnumDMOVtbl;
 
129
interface IEnumDMO {
 
130
    CONST_VTBL IEnumDMOVtbl* lpVtbl;
 
131
};
 
132
 
 
133
#ifdef COBJMACROS
 
134
/*** IUnknown methods ***/
 
135
#define IEnumDMO_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
 
136
#define IEnumDMO_AddRef(This) (This)->lpVtbl->AddRef(This)
 
137
#define IEnumDMO_Release(This) (This)->lpVtbl->Release(This)
 
138
/*** IEnumDMO methods ***/
 
139
#define IEnumDMO_Next(This,cItemsToFetch,pCLSID,Names,pcItemsFetched) (This)->lpVtbl->Next(This,cItemsToFetch,pCLSID,Names,pcItemsFetched)
 
140
#define IEnumDMO_Skip(This,cItemsToSkip) (This)->lpVtbl->Skip(This,cItemsToSkip)
 
141
#define IEnumDMO_Reset(This) (This)->lpVtbl->Reset(This)
 
142
#define IEnumDMO_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum)
 
143
#endif
 
144
 
 
145
#endif
 
146
 
 
147
HRESULT STDMETHODCALLTYPE IEnumDMO_Skip_Proxy(
 
148
    IEnumDMO* This,
 
149
    DWORD cItemsToSkip);
 
150
void __RPC_STUB IEnumDMO_Skip_Stub(
 
151
    IRpcStubBuffer* This,
 
152
    IRpcChannelBuffer* pRpcChannelBuffer,
 
153
    PRPC_MESSAGE pRpcMessage,
 
154
    DWORD* pdwStubPhase);
 
155
HRESULT STDMETHODCALLTYPE IEnumDMO_Reset_Proxy(
 
156
    IEnumDMO* This);
 
157
void __RPC_STUB IEnumDMO_Reset_Stub(
 
158
    IRpcStubBuffer* This,
 
159
    IRpcChannelBuffer* pRpcChannelBuffer,
 
160
    PRPC_MESSAGE pRpcMessage,
 
161
    DWORD* pdwStubPhase);
 
162
HRESULT STDMETHODCALLTYPE IEnumDMO_Clone_Proxy(
 
163
    IEnumDMO* This,
 
164
    IEnumDMO **ppEnum);
 
165
void __RPC_STUB IEnumDMO_Clone_Stub(
 
166
    IRpcStubBuffer* This,
 
167
    IRpcChannelBuffer* pRpcChannelBuffer,
 
168
    PRPC_MESSAGE pRpcMessage,
 
169
    DWORD* pdwStubPhase);
 
170
 
 
171
#endif  /* __IEnumDMO_INTERFACE_DEFINED__ */
 
172
 
 
173
/* Begin additional prototypes for all interfaces */
 
174
 
 
175
 
 
176
/* End additional prototypes */
 
177
 
 
178
#ifdef __cplusplus
 
179
}
 
180
#endif
 
181
 
 
182
#endif /* __WIDL_MEDIAOBJ_H */