From 536dc4b5ff43157157732c7c416cf0182cbfe53b Mon Sep 17 00:00:00 2001 From: Louis Lenders Date: Sat, 4 Jul 2009 19:03:10 +0200 Subject: include: add wbemcli.idl --- include/Makefile.in | 1 + include/wbemcli.idl | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+), 0 deletions(-) create mode 100644 include/wbemcli.idl diff --git a/include/Makefile.in b/include/Makefile.in index 4210bbb..5384e33 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -77,6 +77,7 @@ PUBLIC_IDL_H_SRCS = \ urlhist.idl \ urlmon.idl \ vmr9.idl \ + wbemcli.idl \ wincodec.idl \ wine/itss.idl \ wine/svcctl.idl \ diff --git a/include/wbemcli.idl b/include/wbemcli.idl new file mode 100644 index 0000000..50328f3 --- /dev/null +++ b/include/wbemcli.idl @@ -0,0 +1,52 @@ +/* +* Copyright 2009 Louis Lenders +* +* 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"; + +interface IWbemServices; +interface IWbemLocator; +interface IWbemContext; + +[ + uuid(4590f811-1d3a-11d0-891f-00aa004b2e24) +] + coclass WbemLocator + { + interface IWbemLocator; + }; + +[ + object, + restricted, + local, + uuid(dc12a687-737f-11cf-884d-00aa004b2e24), + pointer_default(unique) +] + +interface IWbemLocator: IUnknown +{ + HRESULT ConnectServer( + [in] const BSTR NetworkResource, + [in] const BSTR User, + [in] const BSTR Password, + [in] const BSTR Locale, + [in] long SecurityFlags, + [in] const BSTR Authority, + [in] IWbemContext* pCtx, + [out] IWbemServices** ppNamespace); +}; -- 1.6.0.4