include: Add more sapi interfaces.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c716aa4802
commit
aa629c4c72
|
@ -1065,6 +1065,31 @@ interface ISpVoice : ISpEventSource
|
|||
[in] ULONG count);
|
||||
};
|
||||
|
||||
[
|
||||
object,
|
||||
uuid(be7a9cc9-5f9e-11d2-960f-00c04f8ee628),
|
||||
pointer_default(unique),
|
||||
local,
|
||||
restricted
|
||||
]
|
||||
interface ISpEventSink : IUnknown
|
||||
{
|
||||
HRESULT AddEvents([in] const SPEVENT *events, [in] ULONG count);
|
||||
HRESULT GetEventInterest([out] ULONGLONG *interest);
|
||||
};
|
||||
|
||||
[
|
||||
object,
|
||||
uuid(5b559f40-e952-11d2-bb91-00c04f8ee6c0),
|
||||
pointer_default(unique),
|
||||
restricted
|
||||
]
|
||||
interface ISpObjectWithToken : IUnknown
|
||||
{
|
||||
HRESULT SetObjectToken([in] ISpObjectToken *token);
|
||||
HRESULT GetObjectToken([out] ISpObjectToken **token);
|
||||
};
|
||||
|
||||
[
|
||||
object,
|
||||
uuid(bed530be-2606-4f4d-a1c0-54c5cda5566f),
|
||||
|
@ -1097,6 +1122,21 @@ interface ISpAudio : ISpStreamFormat
|
|||
HRESULT GetBufferNotifySize([out] ULONG *size);
|
||||
HRESULT SetBufferNotifySize([in] ULONG size);
|
||||
};
|
||||
[
|
||||
object,
|
||||
uuid(15806f6e-1d70-4b48-98e6-3b1a007509ab),
|
||||
pointer_default(unique),
|
||||
local,
|
||||
restricted
|
||||
]
|
||||
interface ISpMMSysAudio : ISpAudio
|
||||
{
|
||||
HRESULT GetDeviceId([out] UINT *id);
|
||||
HRESULT SetDeviceId([in] UINT id);
|
||||
HRESULT GetMMHandle([out] void **handle);
|
||||
HRESULT GetLineId([out] UINT *id);
|
||||
HRESULT SetLineId([in] UINT id);
|
||||
};
|
||||
|
||||
[
|
||||
object,
|
||||
|
@ -1254,4 +1294,26 @@ library SpeechLib
|
|||
interface ISpStream;
|
||||
[default] interface ISpeechFileStream;
|
||||
};
|
||||
|
||||
[
|
||||
uuid(cf3d2e50-53f2-11d2-960c-00c04f8ee628)
|
||||
]
|
||||
coclass SpMMAudioIn
|
||||
{
|
||||
interface ISpEventSource;
|
||||
interface ISpEventSink;
|
||||
interface ISpObjectWithToken;
|
||||
interface ISpMMSysAudio;
|
||||
};
|
||||
|
||||
[
|
||||
uuid(a8c680eb-3d32-11d2-9ee7-00c04f797396)
|
||||
]
|
||||
coclass SpMMAudioOut
|
||||
{
|
||||
interface ISpEventSource;
|
||||
interface ISpEventSink;
|
||||
interface ISpObjectWithToken;
|
||||
interface ISpMMSysAudio;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue