Module: wine Branch: master Commit: d57ccd77ec74d98a223e0c725b354661e98f36a7 URL: http://source.winehq.org/git/wine.git/?a=commit;h=d57ccd77ec74d98a223e0c725b...
Author: Jacek Caban jacek@codeweavers.com Date: Sat Jan 25 18:21:18 2014 +0100
include: Added wmp.idl.
---
include/Makefile.in | 1 + include/wmp.idl | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+)
diff --git a/include/Makefile.in b/include/Makefile.in index 0d0dab6..7153467 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -124,6 +124,7 @@ PUBLIC_IDL_H_SRCS = \ wine/svcctl.idl \ winsxs.idl \ wmiutils.idl \ + wmp.idl \ wmsbuffer.idl \ wmsdkidl.idl \ wpcapi.idl \ diff --git a/include/wmp.idl b/include/wmp.idl new file mode 100644 index 0000000..86e507d --- /dev/null +++ b/include/wmp.idl @@ -0,0 +1,42 @@ +/* + * Copyright 2014 Jacek Caban 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"; + +#ifndef __WIDL__ +#define threading(model) +#define progid(str) +#define vi_progid(str) +#endif + +[ + helpstring("Windows Media Player"), + version(1.0), + uuid(6bf52a50-394a-11d3-b153-00c04f79Faa6) +] +library WMPLib { + [ + helpstring("Windows Media Player"), + threading(apartment), + progid("WMPlayer.OCX"), + uuid(6bf52a52-394a-11d3-b153-00c04f79faa6) + ] + coclass WindowsMediaPlayer + {} +}