ReactOS  0.4.14-dev-98-gb0d4763
austream.idl
Go to the documentation of this file.
1 /*
2  * Copyright 2004 Christian Costa
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17  */
18 
19 import "unknwn.idl";
20 import "mmstream.idl";
21 
22 cpp_quote("#if 0")
24 cpp_quote ("#endif")
25 
26 interface IAudioMediaStream;
27 interface IAudioStreamSample;
28 interface IMemoryData;
29 interface IAudioData;
30 
31 [
32 object,
33 local,
34 uuid(f7537560-a3be-11d0-8212-00c04fc32c45),
36 ]
38 {
40  [out] /*[optional]*/ WAVEFORMATEX *pWaveFormatCurrent
41  );
42 
44  [in] const WAVEFORMATEX *lpWaveFormat);
45 
47  [in] IAudioData *pAudioData,
48  [in] DWORD dwFlags,
49  [out] IAudioStreamSample **ppSample
50  );
51 }
52 
53 
54 [
55 object,
56 local,
57 uuid(345fee00-aba5-11d0-8212-00c04fc32c45),
59 ]
61 {
63  [out] IAudioData **ppAudio
64  );
65 }
66 
67 
68 [
69 object,
70 local,
71 uuid(327fc560-af60-11d0-8212-00c04fc32c45),
73 ]
74 interface IMemoryData : IUnknown
75 {
77  [in] DWORD cbSize,
78  [in] BYTE *pbData,
79  [in] DWORD dwFlags
80  );
81 
83  [out] DWORD *pdwLength,
84  [out] BYTE **ppbData,
85  [out] DWORD *pcbActualData
86  );
88  [in] DWORD cbDataValid
89  );
90 }
91 
92 
93 [
94 object,
95 local,
96 uuid(54c719c0-af60-11d0-8212-00c04fc32c45),
98 ]
100 {
102  [out] /*[optional]*/ WAVEFORMATEX *pWaveFormatCurrent
103  );
104 
106  [in] const WAVEFORMATEX *lpWaveFormat
107  );
108 }
HRESULT SetFormat([in] const WAVEFORMATEX *lpWaveFormat)
HRESULT GetInfo([out] DWORD *pdwLength, [out] BYTE **ppbData, [out] DWORD *pcbActualData)
HRESULT CreateSample([in] IAudioData *pAudioData, [in] DWORD dwFlags, [out] IAudioStreamSample **ppSample)
coclass AMMultiMediaStream cpp_quote("DEFINE_GUID(CLSID_AMDirectDrawStream, 0x49c47ce4, 0x9ba4, 0x11d0, 0x82, 0x12, 0x00, 0xc0, 0x4f, 0xc3, 0x2c, 0x45);") cpp_quote("DEFINE_GUID(CLSID_AMAudioStream
HRESULT SetFormat([in] const WAVEFORMATEX *lpWaveFormat)
LONG HRESULT
Definition: typedefs.h:77
static FILE * out
Definition: regtests2xml.c:44
unsigned long DWORD
Definition: ntddk_ex.h:95
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
HRESULT SetBuffer([in] DWORD cbSize, [in] BYTE *pbData, [in] DWORD dwFlags)
unsigned char BYTE
Definition: mem.h:68
HRESULT GetFormat([out] WAVEFORMATEX *pWaveFormatCurrent)
HRESULT GetAudioData([out] IAudioData **ppAudio)
#define local
Definition: zutil.h:30
GLuint in
Definition: glext.h:9616
static unsigned char pointer_default
Definition: parser.tab.c:114
HRESULT GetFormat([out] WAVEFORMATEX *pWaveFormatCurrent)
void * object
Definition: jmemsys.h:48
HRESULT SetActual([in] DWORD cbDataValid)
_In_ HCRYPTHASH _In_ BOOL _In_ DWORD _Inout_updates_bytes_to_ pdwDataLen BYTE * pbData
Definition: wincrypt.h:4201