ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/MSYS2/mingw32/i686-w64-mingw32/include/icodecapi.idl
Revision: 1166
Committed: Tue Oct 26 14:22:36 2021 UTC (4 years ago) by rossy
File size: 1867 byte(s)
Log Message:
Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File Contents

# Content
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")