| 1 |
cpp_quote("/**") |
| 2 |
cpp_quote(" * This file is part of the mingw-w64 runtime package.") |
| 3 |
cpp_quote(" * No warranty is given; refer to the file DISCLAIMER within this package.") |
| 4 |
cpp_quote(" */") |
| 5 |
cpp_quote("") |
| 6 |
cpp_quote("#include <winapifamily.h>") |
| 7 |
cpp_quote("") |
| 8 |
cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)") |
| 9 |
|
| 10 |
import "unknwn.idl"; |
| 11 |
import "oaidl.idl"; |
| 12 |
|
| 13 |
cpp_quote("") |
| 14 |
struct CodecAPIEventData { |
| 15 |
GUID guid; |
| 16 |
DWORD dataLength; |
| 17 |
DWORD reserved[3]; |
| 18 |
}; |
| 19 |
|
| 20 |
cpp_quote("") |
| 21 |
interface IStream; |
| 22 |
|
| 23 |
cpp_quote("") |
| 24 |
[object, local, uuid (901db4c7-31ce-41a2-85dc-8fa0bf41b8da), pointer_default (unique)] |
| 25 |
interface ICodecAPI : IUnknown { |
| 26 |
HRESULT IsSupported ([in] const GUID *Api); |
| 27 |
HRESULT IsModifiable ([in] const GUID *Api); |
| 28 |
HRESULT GetParameterRange ([in] const GUID *Api,[out] VARIANT *ValueMin,[out] VARIANT *ValueMax,[out] VARIANT *SteppingDelta); |
| 29 |
HRESULT GetParameterValues ([in] const GUID *Api,[out, size_is (,*ValuesCount)] VARIANT **Values,[out] ULONG *ValuesCount); |
| 30 |
HRESULT GetDefaultValue ([in] const GUID *Api,[out] VARIANT *Value); |
| 31 |
HRESULT GetValue ([in] const GUID *Api,[out] VARIANT *Value); |
| 32 |
HRESULT SetValue ([in] const GUID *Api,[in] VARIANT *Value); |
| 33 |
HRESULT RegisterForEvent ([in] const GUID *Api,[in] LONG_PTR userData); |
| 34 |
HRESULT UnregisterForEvent ([in] const GUID *Api); |
| 35 |
HRESULT SetAllDefaults (void); |
| 36 |
HRESULT SetValueWithNotify ([in] const GUID *Api,[in] VARIANT *Value,[out, size_is (,*ChangedParamCount)] GUID **ChangedParam,[out] ULONG *ChangedParamCount); |
| 37 |
HRESULT SetAllDefaultsWithNotify ([out, size_is (,*ChangedParamCount)] GUID **ChangedParam,[out] ULONG *ChangedParamCount); |
| 38 |
HRESULT GetAllSettings ([in] IStream *); |
| 39 |
HRESULT SetAllSettings ([in] IStream *); |
| 40 |
HRESULT SetAllSettingsWithNotify (IStream *,[out, size_is (,*ChangedParamCount)] GUID **ChangedParam,[out] ULONG *ChangedParamCount); |
| 41 |
} |
| 42 |
cpp_quote("#endif") |