/* * 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 { importlib("stdole2.tlb"); [ hidden, uuid(6bf52a51-394a-11d3-b153-00c04f79faa6) ] interface _WMPOCXEvents : IDispatch {} [ helpstring("Windows Media Player"), threading(apartment), progid("WMPlayer.OCX.7"), vi_progid("WMPlayer.OCX"), uuid(6bf52a52-394a-11d3-b153-00c04f79faa6) ] coclass WindowsMediaPlayer {} }