Signed-off-by: Rémi Bernon rbernon@codeweavers.com --- include/Makefile.in | 1 + include/wmprealestate.idl | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 include/wmprealestate.idl
diff --git a/include/Makefile.in b/include/Makefile.in index fc5ffbbc721..b03c2e8c602 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -797,6 +797,7 @@ SOURCES = \ wmiutils.idl \ wmp.idl \ wmpids.h \ + wmprealestate.idl \ wmsbuffer.idl \ wmsdk.h \ wmsdkidl.idl \ diff --git a/include/wmprealestate.idl b/include/wmprealestate.idl new file mode 100644 index 00000000000..cb9d6b417fb --- /dev/null +++ b/include/wmprealestate.idl @@ -0,0 +1,31 @@ +/* + * Copyright 2021 Rémi Bernon for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; +import "ocidl.idl"; +import "mfidl.idl"; + +[ + odl, + uuid(6d6cf803-1ec0-4c8d-b3ca-f18e27282074), + oleautomation +] +interface IWMPVideoRenderConfig : IUnknown +{ + [propput] HRESULT presenterActivate([in] IMFActivate *activate); +}
Signed-off-by: Rémi Bernon rbernon@codeweavers.com --- include/wmprealestate.idl | 12 ++++++++++++ 1 file changed, 12 insertions(+)
diff --git a/include/wmprealestate.idl b/include/wmprealestate.idl index cb9d6b417fb..5a4cb84716b 100644 --- a/include/wmprealestate.idl +++ b/include/wmprealestate.idl @@ -29,3 +29,15 @@ interface IWMPVideoRenderConfig : IUnknown { [propput] HRESULT presenterActivate([in] IMFActivate *activate); } + +[ + odl, + uuid(959506c1-0314-4ec5-9e61-8528db5e5478), + oleautomation +] +interface IWMPRenderConfig : IUnknown +{ + [propput] HRESULT inProcOnly([in] BOOL fInProc); + + [propget] HRESULT inProcOnly([out, retval] BOOL *pfInProc); +}
Signed-off-by: Rémi Bernon rbernon@codeweavers.com --- include/Makefile.in | 1 + include/wmpservices.idl | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 include/wmpservices.idl
diff --git a/include/Makefile.in b/include/Makefile.in index b03c2e8c602..5de2a0e3a4f 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -798,6 +798,7 @@ SOURCES = \ wmp.idl \ wmpids.h \ wmprealestate.idl \ + wmpservices.idl \ wmsbuffer.idl \ wmsdk.h \ wmsdkidl.idl \ diff --git a/include/wmpservices.idl b/include/wmpservices.idl new file mode 100644 index 00000000000..86f2fc1da72 --- /dev/null +++ b/include/wmpservices.idl @@ -0,0 +1,32 @@ +/* + * Copyright 2021 Rémi Bernon for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; +import "ocidl.idl"; + +[ + odl, + uuid(bfb377e5-c594-4369-a970-de896d5ece74), + oleautomation +] +interface IWMPGraphCreation : IUnknown +{ + HRESULT GraphCreationPreRender([in] IUnknown *filter_graph, [in] IUnknown *reserved); + HRESULT GraphCreationPostRender([in] IUnknown *filter_graph); + HRESULT GetGraphCreationFlags([out, retval] DWORD *flags); +}
Signed-off-by: Rémi Bernon rbernon@codeweavers.com --- include/wmpservices.idl | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/include/wmpservices.idl b/include/wmpservices.idl index 86f2fc1da72..3c3ac47333a 100644 --- a/include/wmpservices.idl +++ b/include/wmpservices.idl @@ -19,6 +19,8 @@ import "oaidl.idl"; import "ocidl.idl";
+cpp_quote("#define WMPGC_FLAGS_SUPPRESS_DIALOGS 0x00000002") + [ odl, uuid(bfb377e5-c594-4369-a970-de896d5ece74),
Signed-off-by: Rémi Bernon rbernon@codeweavers.com --- include/wmpids.h | 51 ++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 49 insertions(+), 2 deletions(-)
diff --git a/include/wmpids.h b/include/wmpids.h index a8500409ac4..2ae1d5c8bdd 100644 --- a/include/wmpids.h +++ b/include/wmpids.h @@ -19,6 +19,53 @@ #define DISPID_WMPCOREEVENT_STATUSCHANGE 5002
#define DISPID_WMPCOREEVENT_PLAYSTATECHANGE 5101 +#define DISPID_WMPCOREEVENT_AUDIOLANGUAGECHANGE 5102
-#define DISPID_WMPCOREEVENT_MEDIACHANGE 5802 -#define DISPID_WMPCOREEVENT_CURRENTITEMCHANGE 5806 +#define DISPID_WMPCOREEVENT_ENDOFSTREAM 5201 +#define DISPID_WMPCOREEVENT_POSITIONCHANGE 5202 +#define DISPID_WMPCOREEVENT_MARKERHIT 5203 +#define DISPID_WMPCOREEVENT_DURATIONUNITCHANGE 5204 + +#define DISPID_WMPCOREEVENT_SCRIPTCOMMAND 5301 + +#define DISPID_WMPCOREEVENT_DISCONNECT 5401 +#define DISPID_WMPCOREEVENT_BUFFERING 5402 +#define DISPID_WMPCOREEVENT_NEWSTREAM 5403 + +#define DISPID_WMPCOREEVENT_ERROR 5501 + +#define DISPID_WMPCOREEVENT_WARNING 5601 + +#define DISPID_WMPCOREEVENT_CDROMMEDIACHANGE 5701 + +#define DISPID_WMPCOREEVENT_PLAYLISTCHANGE 5801 +#define DISPID_WMPCOREEVENT_MEDIACHANGE 5802 +#define DISPID_WMPCOREEVENT_CURRENTMEDIAITEMAVAILABLE 5803 +#define DISPID_WMPCOREEVENT_CURRENTPLAYLISTCHANGE 5804 +#define DISPID_WMPCOREEVENT_CURRENTPLAYLISTITEMAVAILABLE 5805 +#define DISPID_WMPCOREEVENT_CURRENTITEMCHANGE 5806 +#define DISPID_WMPCOREEVENT_MEDIACOLLECTIONCHANGE 5807 +#define DISPID_WMPCOREEVENT_MEDIACOLLECTIONATTRIBUTESTRINGADDED 5808 +#define DISPID_WMPCOREEVENT_MEDIACOLLECTIONATTRIBUTESTRINGREMOVED 5809 +#define DISPID_WMPCOREEVENT_PLAYLISTCOLLECTIONCHANGE 5810 +#define DISPID_WMPCOREEVENT_PLAYLISTCOLLECTIONPLAYLISTADDED 5811 +#define DISPID_WMPCOREEVENT_PLAYLISTCOLLECTIONPLAYLISTREMOVED 5812 +#define DISPID_WMPCOREEVENT_PLAYLISTCOLLECTIONPLAYLISTSETASDELETED 5818 +#define DISPID_WMPCOREEVENT_MODECHANGE 5819 +#define DISPID_WMPCOREEVENT_MEDIACOLLECTIONATTRIBUTESTRINGCHANGED 5820 +#define DISPID_WMPCOREEVENT_MEDIAERROR 5821 +#define DISPID_WMPCOREEVENT_DOMAINCHANGE 5822 +#define DISPID_WMPCOREEVENT_OPENPLAYLISTSWITCH 5823 + +#define DISPID_WMPOCXEVENT_SWITCHEDTOPLAYERAPPLICATION 6501 +#define DISPID_WMPOCXEVENT_SWITCHEDTOCONTROL 6502 +#define DISPID_WMPOCXEVENT_PLAYERDOCKEDSTATECHANGE 6503 +#define DISPID_WMPOCXEVENT_PLAYERRECONNECT 6504 +#define DISPID_WMPOCXEVENT_CLICK 6505 +#define DISPID_WMPOCXEVENT_DOUBLECLICK 6506 +#define DISPID_WMPOCXEVENT_KEYDOWN 6507 +#define DISPID_WMPOCXEVENT_KEYPRESS 6508 +#define DISPID_WMPOCXEVENT_KEYUP 6509 +#define DISPID_WMPOCXEVENT_MOUSEDOWN 6510 +#define DISPID_WMPOCXEVENT_MOUSEMOVE 6511 +#define DISPID_WMPOCXEVENT_MOUSEUP 6512