Commit 78cf3156 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

wmsdkidl.idl: Added some missing declarations.

parent e28fe966
...@@ -110,6 +110,15 @@ typedef enum WMT_STREAM_SELECTION ...@@ -110,6 +110,15 @@ typedef enum WMT_STREAM_SELECTION
WMT_ON = 2, WMT_ON = 2,
} WMT_STREAM_SELECTION; } WMT_STREAM_SELECTION;
typedef enum WMT_VERSION
{
WMT_VER_4_0 = 0x00040000,
WMT_VER_7_0 = 0x00070000,
WMT_VER_8_0 = 0x00080000,
WMT_VER_9_0 = 0x00090000
} WMT_VERSION;
typedef LPCWSTR LPCWSTR_WMSDK_TYPE_SAFE;
[ [
object, object,
...@@ -146,6 +155,167 @@ interface IWMReaderCallback : IWMStatusCallback ...@@ -146,6 +155,167 @@ interface IWMReaderCallback : IWMStatusCallback
[ [
object, object,
uuid(96406Bdd-2b2b-11d3-b36b-00c04f6108ff),
pointer_default(unique),
local
]
interface IWMStreamList : IUnknown
{
HRESULT GetStreams(
[out, size_is(*pcStreams)] WORD *pwStreamNumArray,
[in, out] WORD *pcStreams);
HRESULT AddStream([in] WORD wStreamNum);
HRESULT RemoveStream([in] WORD wStreamNum);
}
[
object,
uuid(96406Bde-2b2b-11d3-b36b-00c04f6108ff),
pointer_default(unique),
local
]
interface IWMMutualExclusion : IWMStreamList
{
HRESULT GetType([out] GUID *pguidType);
HRESULT SetType([in] REFGUID guidType);
}
[
object,
uuid(96406Bdc-2b2b-11d3-b36b-00c04f6108ff),
pointer_default(unique),
local
]
interface IWMStreamConfig : IUnknown
{
HRESULT GetStreamType([out] GUID *pguidStreamType);
HRESULT GetStreamNumber([out] WORD *pwStreamNum);
HRESULT SetStreamNumber([in] WORD wStreamNum);
HRESULT GetStreamName(
[out, size_is(*pcchStreamName)] WCHAR *pwszStreamName,
[in, out] WORD *pcchStreamName);
HRESULT SetStreamName([in] LPCWSTR_WMSDK_TYPE_SAFE pwszStreamName);
HRESULT GetConnectionName(
[out, size_is(*pcchInputName)] WCHAR *pwszInputName,
[in, out] WORD *pcchInputName);
HRESULT SetConnectionName([in] LPCWSTR_WMSDK_TYPE_SAFE pwszInputName);
HRESULT GetBitrate([out] DWORD *pdwBitrate);
HRESULT SetBitrate([in] DWORD pdwBitrate);
HRESULT GetBufferWindow([out] DWORD *pmsBufferWindow);
HRESULT SetBufferWindow([in] DWORD msBufferWindow);
}
[
object,
uuid(96406bdb-2b2b-11d3-b36b-00c04f6108ff),
pointer_default(unique),
local
]
interface IWMProfile : IUnknown
{
HRESULT GetVersion(
[out] WMT_VERSION *pdwVersion);
HRESULT GetName(
[out, size_is(*pcchName)] WCHAR *pwszName,
[in, out] DWORD *pcchName);
HRESULT SetName(
[in] const WCHAR *pwszName);
HRESULT GetDescription(
[out, size_is(*pcchDescription)] WCHAR *pwszDescription,
[in, out] DWORD *pcchDescription);
HRESULT SetDescription(
[in] const WCHAR *pwszDescription);
HRESULT GetStreamCount(
[out] DWORD *pcStreams);
HRESULT GetStream(
[in] DWORD dwStreamIndex,
[out] IWMStreamConfig **ppConfig);
HRESULT GetStreamByNumber(
[in] WORD wStreamNum,
[out] IWMStreamConfig **ppConfig);
HRESULT RemoveStream(
[in] IWMStreamConfig *pConfig);
HRESULT RemoveStreamByNumber(
[in] WORD wStreamNum);
HRESULT AddStream(
[in] IWMStreamConfig *pConfig);
HRESULT ReconfigStream(
[in] IWMStreamConfig *pConfig);
HRESULT CreateNewStream(
[in] REFGUID guidStreamType,
[out] IWMStreamConfig **ppConfig);
HRESULT GetMutualExclusionCount(
[out] DWORD *pcME);
HRESULT GetMutualExclusion(
[in] DWORD dwMEIndex,
[out] IWMMutualExclusion **ppME);
HRESULT RemoveMutualExclusion(
[in] IWMMutualExclusion *pME);
HRESULT AddMutualExclusion(
[in] IWMMutualExclusion *pME);
HRESULT CreateNewMutualExclusion(
[out] IWMMutualExclusion **ppME);
}
[
object,
uuid(d16679f2-6ca0-472d-8d31-2f5d55aee155),
pointer_default(unique),
local
]
interface IWMProfileManager : IUnknown
{
HRESULT CreateEmptyProfile(
[in] WMT_VERSION dwVersion,
[out] IWMProfile **ppProfile);
HRESULT LoadProfileByID(
[in] REFGUID guidProfile,
[out] IWMProfile **ppProfile);
HRESULT LoadProfileByData(
[in] const WCHAR *pwszProfile,
[out] IWMProfile **ppProfile);
HRESULT SaveProfile(
[in] IWMProfile *pIWMProfile,
[in] WCHAR *pwszProfile,
[in, out] DWORD *pdwLength);
HRESULT GetSystemProfileCount(
[out] DWORD *pcProfiles);
HRESULT LoadSystemProfile(
[in] DWORD dwProfileIndex,
[out] IWMProfile **ppProfile);
}
cpp_quote("HRESULT WINAPI WMCreateProfileManager(IWMProfileManager**);")
[
object,
uuid(96406bce-2b2b-11d3-b36b-00c04f6108ff), uuid(96406bce-2b2b-11d3-b36b-00c04f6108ff),
pointer_default(unique), pointer_default(unique),
local local
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment