2013-08-16 14:19:21 +02:00
|
|
|
/*
|
|
|
|
* Copyright 2013 Hans Leidekker 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 "dispex.idl";
|
|
|
|
|
2013-08-28 12:14:20 +02:00
|
|
|
#ifndef __WIDL__
|
|
|
|
#define threading(model)
|
|
|
|
#define progid(str)
|
|
|
|
#define vi_progid(str)
|
|
|
|
#endif
|
|
|
|
|
2013-08-16 14:20:49 +02:00
|
|
|
[
|
|
|
|
uuid(565783c6-cb41-11d1-8b02-00600806d9b6),
|
|
|
|
helpstring("Microsoft WMI Scripting V1.2 Library"),
|
|
|
|
lcid(0x0000),
|
|
|
|
version(1.2)
|
|
|
|
]
|
|
|
|
library WbemScripting
|
|
|
|
{
|
|
|
|
|
|
|
|
importlib("stdole2.tlb");
|
|
|
|
|
2013-08-16 14:19:21 +02:00
|
|
|
interface ISWbemEventSource;
|
|
|
|
interface ISWbemLocator;
|
2013-08-16 14:20:49 +02:00
|
|
|
interface ISWbemMethod;
|
2013-08-16 14:19:21 +02:00
|
|
|
interface ISWbemMethodSet;
|
2013-08-16 14:20:49 +02:00
|
|
|
interface ISWbemNamedValue;
|
|
|
|
interface ISWbemNamedValueSet;
|
2013-08-16 14:19:21 +02:00
|
|
|
interface ISWbemObject;
|
|
|
|
interface ISWbemObjectPath;
|
|
|
|
interface ISWbemObjectSet;
|
2013-08-16 14:20:49 +02:00
|
|
|
interface ISWbemPrivilege;
|
2013-08-16 14:19:21 +02:00
|
|
|
interface ISWbemPrivilegeSet;
|
2013-08-16 14:20:49 +02:00
|
|
|
interface ISWbemProperty;
|
2013-08-16 14:19:21 +02:00
|
|
|
interface ISWbemPropertySet;
|
2013-08-16 14:20:49 +02:00
|
|
|
interface ISWbemQualifier;
|
2013-08-16 14:19:21 +02:00
|
|
|
interface ISWbemQualifierSet;
|
|
|
|
interface ISWbemSecurity;
|
|
|
|
interface ISWbemServices;
|
|
|
|
|
2014-03-11 13:07:29 +01:00
|
|
|
typedef
|
|
|
|
[
|
|
|
|
v1_enum,
|
|
|
|
uuid(bf078c2a-07d9-11d2-8b21-00600806d9b6)
|
|
|
|
]
|
|
|
|
enum WbemTimeout
|
|
|
|
{
|
|
|
|
wbemTimeoutInfinite = 0xffffffff
|
|
|
|
} WbemTimeout;
|
|
|
|
|
|
|
|
typedef
|
|
|
|
[
|
|
|
|
v1_enum,
|
|
|
|
uuid(4a249b72-fc9a-11d1-8b1e-00600806d9b6)
|
|
|
|
]
|
|
|
|
enum WbemChangeFlagEnum
|
|
|
|
{
|
|
|
|
wbemChangeFlagCreateOrUpdate = 0,
|
|
|
|
wbemChangeFlagUpdateOnly = 0x00000001,
|
|
|
|
wbemChangeFlagCreateOnly = 0x00000002,
|
|
|
|
wbemChangeFlagUpdateCompatible = 0x00000000,
|
|
|
|
wbemChangeFlagUpdateSafeMode = 0x00000020,
|
|
|
|
wbemChangeFlagUpdateForceMode = 0x00000040,
|
|
|
|
wbemChangeFlagStrongValidation = 0x00000080,
|
|
|
|
wbemChangeFlagAdvisory = 0x00010000
|
|
|
|
} WbemChangeFlagEnum;
|
|
|
|
|
|
|
|
typedef
|
|
|
|
[
|
|
|
|
v1_enum,
|
|
|
|
uuid(4a249b73-fc9a-11d1-8b1e-00600806d9b6)
|
|
|
|
]
|
|
|
|
enum WbemFlagEnum
|
|
|
|
{
|
|
|
|
wbemFlagReturnImmediately = 0x00010,
|
|
|
|
wbemFlagReturnWhenComplete = 0,
|
|
|
|
wbemFlagBidirectional = 0,
|
|
|
|
wbemFlagForwardOnly = 0x00020,
|
|
|
|
wbemFlagNoErrorObject = 0x00040,
|
|
|
|
wbemFlagReturnErrorObject = 0,
|
|
|
|
wbemFlagSendStatus = 0x00080,
|
|
|
|
wbemFlagDontSendStatus = 0,
|
|
|
|
wbemFlagEnsureLocatable = 0x00100,
|
|
|
|
wbemFlagDirectRead = 0x00200,
|
|
|
|
wbemFlagSendOnlySelected = 0,
|
|
|
|
wbemFlagUseAmendedQualifiers = 0x20000,
|
|
|
|
wbemFlagGetDefault = 0x0,
|
|
|
|
wbemFlagSpawnInstance = 0x00001,
|
|
|
|
wbemFlagUseCurrentTime = 0x00001
|
|
|
|
} WbemFlagEnum;
|
|
|
|
|
|
|
|
typedef
|
|
|
|
[
|
|
|
|
v1_enum,
|
|
|
|
uuid(4a249b76-fc9a-11d1-8b1e-00600806d9b6)
|
|
|
|
]
|
|
|
|
enum WbemQueryFlagEnum
|
|
|
|
{
|
|
|
|
wbemQueryFlagDeep,
|
|
|
|
wbemQueryFlagShallow,
|
|
|
|
wbemQueryFlagPrototype
|
|
|
|
} WbemQueryFlagEnum;
|
|
|
|
|
|
|
|
typedef
|
|
|
|
[
|
|
|
|
v1_enum,
|
|
|
|
uuid(4A249B79-FC9A-11d1-8B1E-00600806D9B6)
|
|
|
|
]
|
|
|
|
enum WbemComparisonFlagEnum
|
|
|
|
{
|
|
|
|
wbemComparisonFlagIncludeAll = 0,
|
|
|
|
wbemComparisonFlagIgnoreQualifiers = 1,
|
|
|
|
wbemComparisonFlagIgnoreObjectSource = 2,
|
|
|
|
wbemComparisonFlagIgnoreDefaultValues = 4,
|
|
|
|
wbemComparisonFlagIgnoreClass = 8,
|
|
|
|
wbemComparisonFlagIgnoreCase = 16,
|
|
|
|
wbemComparisonFlagIgnoreFlavor = 32
|
|
|
|
} WbemComparisonFlagEnum;
|
|
|
|
|
2013-08-16 14:20:49 +02:00
|
|
|
[
|
|
|
|
object,
|
|
|
|
local,
|
|
|
|
uuid(27d54d92-0ebe-11d2-8b22-00600806d9b6),
|
|
|
|
dual,
|
|
|
|
hidden,
|
|
|
|
oleautomation,
|
|
|
|
nonextensible
|
|
|
|
]
|
|
|
|
interface ISWbemEventSource : IDispatch
|
|
|
|
{
|
|
|
|
[ id(1) ]
|
|
|
|
HRESULT NextEvent(
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue(wbemTimeoutInfinite)] long iTimeoutMs,
|
2013-08-16 14:20:49 +02:00
|
|
|
[out, retval] ISWbemObject **objWbemObject);
|
|
|
|
|
|
|
|
[ id(2), propget ]
|
|
|
|
HRESULT Security_(
|
|
|
|
[out, retval] ISWbemSecurity **objWbemSecurity);
|
2017-12-13 17:48:14 +01:00
|
|
|
}
|
2013-08-16 14:20:49 +02:00
|
|
|
|
2013-08-16 14:19:21 +02:00
|
|
|
[
|
|
|
|
object,
|
|
|
|
local,
|
|
|
|
uuid(76a6415b-cb41-11d1-8b02-00600806d9b6),
|
|
|
|
dual,
|
|
|
|
hidden,
|
|
|
|
oleautomation,
|
|
|
|
pointer_default(unique)
|
|
|
|
]
|
|
|
|
interface ISWbemLocator : IDispatch
|
|
|
|
{
|
|
|
|
[ id(1) ]
|
|
|
|
HRESULT ConnectServer(
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue(".")] BSTR strServer,
|
|
|
|
[in, defaultvalue("")] BSTR strNamespace,
|
|
|
|
[in, defaultvalue("")] BSTR strUser,
|
|
|
|
[in, defaultvalue("")] BSTR strPassword,
|
|
|
|
[in, defaultvalue("")] BSTR strLocale,
|
|
|
|
[in, defaultvalue("")] BSTR strAuthority,
|
|
|
|
[in, defaultvalue(0)] long iSecurityFlags,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
|
2013-08-16 14:19:21 +02:00
|
|
|
[out, retval] ISWbemServices **objWbemServices);
|
|
|
|
|
|
|
|
[ id(2), propget ]
|
2014-03-11 13:07:29 +01:00
|
|
|
HRESULT Security_([out, retval] ISWbemSecurity **objWbemSecurity);
|
2017-12-13 17:48:14 +01:00
|
|
|
}
|
2013-08-16 14:19:21 +02:00
|
|
|
|
2013-08-16 14:20:49 +02:00
|
|
|
[
|
|
|
|
object,
|
|
|
|
local,
|
|
|
|
uuid(422e8e90-d955-11d1-8b09-00600806d9b6),
|
|
|
|
dual,
|
|
|
|
hidden,
|
|
|
|
oleautomation,
|
|
|
|
pointer_default(unique),
|
|
|
|
nonextensible
|
|
|
|
]
|
|
|
|
interface ISWbemMethod : IDispatch
|
|
|
|
{
|
|
|
|
[ id(1), propget ]
|
|
|
|
HRESULT Name(
|
|
|
|
[out, retval] BSTR *strName);
|
|
|
|
|
|
|
|
[ id(2), propget ]
|
|
|
|
HRESULT Origin(
|
|
|
|
[out, retval] BSTR *strOrigin);
|
|
|
|
|
|
|
|
[ id(3), propget ]
|
|
|
|
HRESULT InParameters(
|
|
|
|
[out, retval] ISWbemObject **objWbemInParameters);
|
|
|
|
|
|
|
|
[ id(4), propget ]
|
|
|
|
HRESULT OutParameters(
|
|
|
|
[out, retval] ISWbemObject **objWbemOutParameters);
|
|
|
|
|
|
|
|
[ id(5), propget ]
|
|
|
|
HRESULT Qualifiers_(
|
|
|
|
[out, retval] ISWbemQualifierSet **objWbemQualifierSet);
|
2017-12-13 17:48:14 +01:00
|
|
|
}
|
2013-08-16 14:20:49 +02:00
|
|
|
|
|
|
|
[
|
|
|
|
object,
|
|
|
|
local,
|
|
|
|
uuid(c93ba292-d955-11d1-8b09-00600806d9b6),
|
|
|
|
dual,
|
|
|
|
hidden,
|
|
|
|
oleautomation,
|
|
|
|
nonextensible
|
|
|
|
]
|
|
|
|
interface ISWbemMethodSet : IDispatch
|
|
|
|
{
|
|
|
|
[ id(DISPID_NEWENUM), propget, restricted ]
|
|
|
|
HRESULT _NewEnum(
|
|
|
|
[out, retval] IUnknown **pUnk);
|
|
|
|
|
|
|
|
[ id(DISPID_VALUE) ]
|
|
|
|
HRESULT Item(
|
|
|
|
[in] BSTR strName,
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue(0)] long iFlags,
|
2013-08-16 14:20:49 +02:00
|
|
|
[out, retval] ISWbemMethod **objWbemMethod);
|
|
|
|
|
|
|
|
[ id(1), propget ]
|
|
|
|
HRESULT Count(
|
|
|
|
[out, retval] long *iCount);
|
2017-12-13 17:48:14 +01:00
|
|
|
}
|
2013-08-16 14:20:49 +02:00
|
|
|
|
|
|
|
[
|
|
|
|
object,
|
|
|
|
local,
|
|
|
|
uuid(76a64164-cb41-11d1-8b02-00600806d9b6),
|
|
|
|
dual,
|
|
|
|
hidden,
|
|
|
|
oleautomation
|
|
|
|
]
|
|
|
|
interface ISWbemNamedValue : IDispatch
|
|
|
|
{
|
|
|
|
[ id(DISPID_VALUE), propget ]
|
|
|
|
HRESULT Value(
|
|
|
|
[out, retval] VARIANT *varValue);
|
|
|
|
|
|
|
|
[ id(DISPID_VALUE), propput ]
|
|
|
|
HRESULT Value(
|
|
|
|
[in] VARIANT *varValue);
|
|
|
|
|
|
|
|
[ id(2), propget ]
|
|
|
|
HRESULT Name(
|
|
|
|
[out, retval] BSTR *strName);
|
2017-12-13 17:48:14 +01:00
|
|
|
}
|
2013-08-16 14:20:49 +02:00
|
|
|
|
|
|
|
[
|
|
|
|
object,
|
|
|
|
local,
|
|
|
|
uuid(cf2376ea-ce8c-11d1-8b05-00600806d9b6),
|
|
|
|
dual,
|
|
|
|
hidden,
|
|
|
|
oleautomation
|
|
|
|
]
|
|
|
|
interface ISWbemNamedValueSet : IDispatch
|
|
|
|
{
|
|
|
|
[ id(DISPID_NEWENUM), propget, restricted ]
|
|
|
|
HRESULT _NewEnum(
|
|
|
|
[out, retval] IUnknown **pUnk);
|
|
|
|
|
|
|
|
[ id(DISPID_VALUE) ]
|
|
|
|
HRESULT Item(
|
|
|
|
[in] BSTR strName,
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue(0)] long iFlags,
|
2013-08-16 14:20:49 +02:00
|
|
|
[out, retval] ISWbemNamedValue **objWbemNamedValue);
|
|
|
|
|
|
|
|
[ id(1), propget ]
|
|
|
|
HRESULT Count(
|
|
|
|
[out, retval] long *iCount);
|
|
|
|
|
|
|
|
[ id(2) ]
|
|
|
|
HRESULT Add(
|
|
|
|
[in] BSTR strName,
|
|
|
|
[in] VARIANT *varValue,
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue(0)] long iFlags,
|
2013-08-16 14:20:49 +02:00
|
|
|
[out, retval] ISWbemNamedValue **objWbemNamedValue);
|
|
|
|
|
|
|
|
[ id(3) ]
|
|
|
|
HRESULT Remove(
|
|
|
|
[in] BSTR strName,
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue(0)] long iFlags);
|
2013-08-16 14:20:49 +02:00
|
|
|
|
|
|
|
[ id(4) ]
|
|
|
|
HRESULT Clone(
|
|
|
|
[out, retval] ISWbemNamedValueSet **objWbemNamedValueSet);
|
|
|
|
|
|
|
|
[ id(5) ]
|
|
|
|
HRESULT DeleteAll();
|
2017-12-13 17:48:14 +01:00
|
|
|
}
|
2013-08-16 14:20:49 +02:00
|
|
|
|
2013-08-16 14:19:21 +02:00
|
|
|
[
|
|
|
|
object,
|
|
|
|
local,
|
|
|
|
uuid(76A6415A-CB41-11d1-8B02-00600806D9B6),
|
|
|
|
dual,
|
|
|
|
hidden,
|
|
|
|
oleautomation
|
|
|
|
]
|
|
|
|
interface ISWbemObject : IDispatch
|
|
|
|
{
|
|
|
|
[ id(1) ]
|
|
|
|
HRESULT Put_(
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue(wbemChangeFlagCreateOrUpdate)] long iFlags,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
|
2013-08-16 14:19:21 +02:00
|
|
|
[out, retval] ISWbemObjectPath **objWbemObjectPath);
|
|
|
|
|
|
|
|
[ id(2) ]
|
|
|
|
HRESULT PutAsync_(
|
|
|
|
[in] IDispatch *objWbemSink,
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue(wbemChangeFlagCreateOrUpdate)] long iFlags,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemAsyncContext);
|
2013-08-16 14:19:21 +02:00
|
|
|
|
|
|
|
[ id (3) ]
|
|
|
|
HRESULT Delete_(
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue(0)] long iFlags,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemNamedValueSet);
|
2013-08-16 14:19:21 +02:00
|
|
|
|
|
|
|
[ id (4) ]
|
|
|
|
HRESULT DeleteAsync_(
|
|
|
|
[in] IDispatch *objWbemSink,
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue(0)] long iFlags,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemAsyncContext);
|
2013-08-16 14:19:21 +02:00
|
|
|
|
|
|
|
[ id(5) ]
|
|
|
|
HRESULT Instances_(
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue(wbemFlagReturnImmediately)] long iFlags,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
|
2013-08-16 14:19:21 +02:00
|
|
|
[out, retval] ISWbemObjectSet **objWbemObjectSet);
|
|
|
|
|
|
|
|
[ id(6) ]
|
|
|
|
HRESULT InstancesAsync_(
|
|
|
|
[in] IDispatch *objWbemSink,
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue(0)] long iFlags,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemAsyncContext);
|
2013-08-16 14:19:21 +02:00
|
|
|
|
|
|
|
[ id(7) ]
|
|
|
|
HRESULT Subclasses_(
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue(wbemFlagReturnImmediately|wbemQueryFlagDeep)] long iFlags,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
|
2013-08-16 14:19:21 +02:00
|
|
|
[out, retval] ISWbemObjectSet **objWbemObjectSet);
|
|
|
|
|
|
|
|
[ id(8) ]
|
|
|
|
HRESULT SubclassesAsync_(
|
|
|
|
[in] IDispatch *objWbemSink,
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue(wbemQueryFlagDeep)] long iFlags,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemAsyncContext);
|
2013-08-16 14:19:21 +02:00
|
|
|
|
|
|
|
[ id(9) ]
|
|
|
|
HRESULT Associators_(
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue("")] BSTR strAssocClass,
|
|
|
|
[in, defaultvalue("")] BSTR strResultClass,
|
|
|
|
[in, defaultvalue("")] BSTR strResultRole,
|
|
|
|
[in, defaultvalue("")] BSTR strRole,
|
|
|
|
[in, defaultvalue(FALSE)] VARIANT_BOOL bClassesOnly,
|
|
|
|
[in, defaultvalue(FALSE)] VARIANT_BOOL bSchemaOnly,
|
|
|
|
[in, defaultvalue("")] BSTR strRequiredAssocQualifier,
|
|
|
|
[in, defaultvalue("")] BSTR strRequiredQualifier,
|
|
|
|
[in, defaultvalue(wbemFlagReturnImmediately)] long iFlags,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
|
2013-08-16 14:19:21 +02:00
|
|
|
[out, retval] ISWbemObjectSet **objWbemObjectSet);
|
|
|
|
|
|
|
|
[ id(10) ]
|
|
|
|
HRESULT AssociatorsAsync_(
|
|
|
|
[in] IDispatch *objWbemSink,
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue("")] BSTR strAssocClass,
|
|
|
|
[in, defaultvalue("")] BSTR strResultClass,
|
|
|
|
[in, defaultvalue("")] BSTR strResultRole,
|
|
|
|
[in, defaultvalue("")] BSTR strRole,
|
|
|
|
[in, defaultvalue(FALSE)] VARIANT_BOOL bClassesOnly,
|
|
|
|
[in, defaultvalue(FALSE)] VARIANT_BOOL bSchemaOnly,
|
|
|
|
[in, defaultvalue("")] BSTR strRequiredAssocQualifier,
|
|
|
|
[in, defaultvalue("")] BSTR strRequiredQualifier,
|
|
|
|
[in, defaultvalue(0)] long iFlags,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemAsyncContext);
|
2013-08-16 14:19:21 +02:00
|
|
|
|
|
|
|
[ id(11) ]
|
|
|
|
HRESULT References_(
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue("")] BSTR strResultClass,
|
|
|
|
[in, defaultvalue("")] BSTR strRole,
|
|
|
|
[in, defaultvalue(FALSE)] VARIANT_BOOL bClassesOnly,
|
|
|
|
[in, defaultvalue(FALSE)] VARIANT_BOOL bSchemaOnly,
|
|
|
|
[in, defaultvalue("")] BSTR strRequiredQualifier,
|
|
|
|
[in, defaultvalue(wbemFlagReturnImmediately)] long iFlags,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
|
2013-08-16 14:19:21 +02:00
|
|
|
[out, retval] ISWbemObjectSet **objWbemObjectSet);
|
|
|
|
|
|
|
|
[ id(12) ]
|
|
|
|
HRESULT ReferencesAsync_(
|
|
|
|
[in] IDispatch *objWbemSink,
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue("")] BSTR strResultClass,
|
|
|
|
[in, defaultvalue("")] BSTR strRole,
|
|
|
|
[in, defaultvalue(FALSE)] VARIANT_BOOL bClassesOnly,
|
|
|
|
[in, defaultvalue(FALSE)] VARIANT_BOOL bSchemaOnly,
|
|
|
|
[in, defaultvalue("")] BSTR strRequiredQualifier,
|
|
|
|
[in, defaultvalue(0)] long iFlags,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemAsyncContext);
|
2013-08-16 14:19:21 +02:00
|
|
|
|
|
|
|
[ id(13) ]
|
|
|
|
HRESULT ExecMethod_(
|
|
|
|
[in] BSTR strMethodName,
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemInParameters,
|
|
|
|
[in, defaultvalue(0)] long iFlags,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
|
2013-08-16 14:19:21 +02:00
|
|
|
[out, retval] ISWbemObject **objWbemOutParameters);
|
|
|
|
|
|
|
|
[ id(14) ]
|
|
|
|
HRESULT ExecMethodAsync_(
|
|
|
|
[in] IDispatch *objWbemSink,
|
|
|
|
[in] BSTR strMethodName,
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemInParameters,
|
|
|
|
[in, defaultvalue(0)] long iFlags,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemAsyncContext);
|
2013-08-16 14:19:21 +02:00
|
|
|
|
|
|
|
[ id(15) ]
|
|
|
|
HRESULT Clone_(
|
|
|
|
[out, retval] ISWbemObject **objWbemObject);
|
|
|
|
|
|
|
|
[ id(16) ]
|
|
|
|
HRESULT GetObjectText_(
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue(0)] long iFlags,
|
2013-08-16 14:19:21 +02:00
|
|
|
[out, retval] BSTR *strObjectText);
|
|
|
|
|
|
|
|
[ id(17) ]
|
|
|
|
HRESULT SpawnDerivedClass_(
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue(0)] long iFlags,
|
2013-08-16 14:19:21 +02:00
|
|
|
[out, retval] ISWbemObject **objWbemObject);
|
|
|
|
|
|
|
|
[ id(18) ]
|
|
|
|
HRESULT SpawnInstance_(
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue(0)] long iFlags,
|
2013-08-16 14:19:21 +02:00
|
|
|
[out, retval] ISWbemObject **objWbemObject);
|
|
|
|
|
|
|
|
[ id(19) ]
|
|
|
|
HRESULT CompareTo_(
|
|
|
|
[in] IDispatch *objWbemObject,
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue(wbemComparisonFlagIncludeAll)] long iFlags,
|
2013-08-16 14:19:21 +02:00
|
|
|
[out, retval] VARIANT_BOOL *bResult);
|
|
|
|
|
|
|
|
[ id(20), propget ]
|
|
|
|
HRESULT Qualifiers_(
|
|
|
|
[out, retval] ISWbemQualifierSet **objWbemQualifierSet);
|
|
|
|
|
|
|
|
[ id(21), propget ]
|
|
|
|
HRESULT Properties_(
|
|
|
|
[out, retval] ISWbemPropertySet **objWbemPropertySet);
|
|
|
|
|
|
|
|
[ id(22), propget ]
|
|
|
|
HRESULT Methods_(
|
|
|
|
[out, retval] ISWbemMethodSet **objWbemMethodSet);
|
|
|
|
|
|
|
|
[ id(23), propget ]
|
|
|
|
HRESULT Derivation_(
|
|
|
|
[out, retval] VARIANT *strClassNameArray);
|
|
|
|
|
|
|
|
[ id(24), propget ]
|
|
|
|
HRESULT Path_(
|
|
|
|
[out, retval] ISWbemObjectPath **objWbemObjectPath);
|
|
|
|
|
|
|
|
[ id(25), propget ]
|
|
|
|
HRESULT Security_(
|
|
|
|
[out, retval] ISWbemSecurity **objWbemSecurity);
|
2017-12-13 17:48:14 +01:00
|
|
|
}
|
2013-08-16 14:19:21 +02:00
|
|
|
|
2013-08-16 14:20:49 +02:00
|
|
|
[
|
|
|
|
object,
|
|
|
|
local,
|
|
|
|
uuid(5791bc27-ce9c-11d1-97bf-0000f81e849c),
|
|
|
|
dual,
|
|
|
|
hidden,
|
|
|
|
oleautomation,
|
|
|
|
pointer_default(unique)
|
|
|
|
]
|
|
|
|
interface ISWbemObjectPath : IDispatch
|
|
|
|
{
|
|
|
|
[ id(DISPID_VALUE), propget ]
|
|
|
|
HRESULT Path(
|
|
|
|
[out, retval] BSTR *strPath);
|
|
|
|
|
|
|
|
[ id(DISPID_VALUE), propput ]
|
|
|
|
HRESULT Path(
|
|
|
|
[in] BSTR strPath);
|
|
|
|
|
|
|
|
[ id(1), propget ]
|
|
|
|
HRESULT RelPath(
|
|
|
|
[out, retval] BSTR *strRelPath);
|
|
|
|
|
|
|
|
[ id(1), propput ]
|
|
|
|
HRESULT RelPath(
|
|
|
|
[in] BSTR strRelPath);
|
|
|
|
|
|
|
|
[ id(2), propget ]
|
|
|
|
HRESULT Server(
|
|
|
|
[out, retval] BSTR *strServer);
|
|
|
|
|
|
|
|
[ id(2), propput ]
|
|
|
|
HRESULT Server(
|
|
|
|
[in] BSTR strServer);
|
|
|
|
|
|
|
|
[ id(3), propget ]
|
|
|
|
HRESULT Namespace(
|
|
|
|
[out, retval] BSTR *strNamespace);
|
|
|
|
|
|
|
|
[ id(3), propput ]
|
|
|
|
HRESULT Namespace(
|
|
|
|
[in] BSTR strNamespace);
|
|
|
|
|
|
|
|
[ id(4), propget ]
|
|
|
|
HRESULT ParentNamespace(
|
|
|
|
[out, retval] BSTR *strParentNamespace);
|
|
|
|
|
|
|
|
[ id(5), propget ]
|
|
|
|
HRESULT DisplayName(
|
|
|
|
[out, retval] BSTR *strDisplayName);
|
|
|
|
|
|
|
|
[ id(5), propput ]
|
|
|
|
HRESULT DisplayName(
|
|
|
|
[in] BSTR strDisplayName);
|
|
|
|
|
|
|
|
[ id(6), propget ]
|
|
|
|
HRESULT Class(
|
|
|
|
[out, retval] BSTR *strClass);
|
|
|
|
|
|
|
|
[ id(6), propput ]
|
|
|
|
HRESULT Class(
|
|
|
|
[in] BSTR strClass);
|
|
|
|
|
|
|
|
[ id(7), propget ]
|
|
|
|
HRESULT IsClass(
|
|
|
|
[out, retval] VARIANT_BOOL *bIsClass);
|
|
|
|
|
|
|
|
[ id(8) ]
|
|
|
|
HRESULT SetAsClass();
|
|
|
|
|
|
|
|
[ id(9), propget ]
|
|
|
|
HRESULT IsSingleton(
|
|
|
|
[out, retval] VARIANT_BOOL *bIsSingleton);
|
|
|
|
|
|
|
|
[ id(10) ]
|
|
|
|
HRESULT SetAsSingleton();
|
|
|
|
|
|
|
|
[ id(11), propget ]
|
|
|
|
HRESULT Keys(
|
|
|
|
[out, retval] ISWbemNamedValueSet **objWbemNamedValueSet);
|
|
|
|
|
|
|
|
[ id(12), propget ]
|
|
|
|
HRESULT Security_(
|
|
|
|
[out, retval] ISWbemSecurity **objWbemSecurity);
|
|
|
|
|
|
|
|
[ id(13), propget ]
|
|
|
|
HRESULT Locale(
|
|
|
|
[out, retval] BSTR *strLocale);
|
|
|
|
|
|
|
|
[ id(13), propput ]
|
|
|
|
HRESULT Locale(
|
|
|
|
[in] BSTR strLocale);
|
|
|
|
|
|
|
|
[ id(14), propget ]
|
|
|
|
HRESULT Authority(
|
|
|
|
[out, retval] BSTR *strAuthority);
|
|
|
|
|
|
|
|
[ id(14), propput ]
|
|
|
|
HRESULT Authority(
|
|
|
|
[in] BSTR strAuthority);
|
2017-12-13 17:48:14 +01:00
|
|
|
}
|
2013-08-16 14:20:49 +02:00
|
|
|
|
|
|
|
[
|
|
|
|
object,
|
|
|
|
local,
|
|
|
|
uuid(76a6415f-cb41-11d1-8b02-00600806d9b6),
|
|
|
|
dual,
|
|
|
|
hidden,
|
|
|
|
oleautomation,
|
|
|
|
nonextensible
|
|
|
|
]
|
|
|
|
interface ISWbemObjectSet : IDispatch
|
|
|
|
{
|
|
|
|
[ id(DISPID_NEWENUM), propget, restricted ]
|
|
|
|
HRESULT _NewEnum(
|
|
|
|
[out, retval] IUnknown **pUnk);
|
|
|
|
|
|
|
|
[ id(DISPID_VALUE) ]
|
|
|
|
HRESULT Item(
|
|
|
|
[in] BSTR strObjectPath,
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue(0)] long iFlags,
|
2013-08-16 14:20:49 +02:00
|
|
|
[out, retval] ISWbemObject **objWbemObject);
|
|
|
|
|
|
|
|
[ id(1), propget ]
|
|
|
|
HRESULT Count(
|
|
|
|
[out, retval] long *iCount);
|
|
|
|
|
|
|
|
[ id(4), propget ]
|
|
|
|
HRESULT Security_(
|
|
|
|
[out, retval] ISWbemSecurity **objWbemSecurity);
|
|
|
|
|
|
|
|
[ id(5) ]
|
|
|
|
HRESULT ItemIndex(
|
|
|
|
[in] long lIndex,
|
|
|
|
[out, retval] ISWbemObject **objWbemObject);
|
2017-12-13 17:48:14 +01:00
|
|
|
}
|
2013-08-16 14:20:49 +02:00
|
|
|
|
|
|
|
typedef
|
|
|
|
[
|
|
|
|
v1_enum,
|
|
|
|
uuid(176d2f70-5af3-11d2-8b4a-00600806d9b6)
|
|
|
|
]
|
|
|
|
enum WbemPrivilegeEnum
|
|
|
|
{
|
|
|
|
wbemPrivilegeCreateToken = 1,
|
|
|
|
wbemPrivilegePrimaryToken = 2,
|
|
|
|
wbemPrivilegeLockMemory = 3,
|
|
|
|
wbemPrivilegeIncreaseQuota = 4,
|
|
|
|
wbemPrivilegeMachineAccount = 5,
|
|
|
|
wbemPrivilegeTcb = 6,
|
|
|
|
wbemPrivilegeSecurity = 7,
|
|
|
|
wbemPrivilegeTakeOwnership = 8,
|
|
|
|
wbemPrivilegeLoadDriver = 9,
|
|
|
|
wbemPrivilegeSystemProfile = 10,
|
|
|
|
wbemPrivilegeSystemtime = 11,
|
|
|
|
wbemPrivilegeProfileSingleProcess = 12,
|
|
|
|
wbemPrivilegeIncreaseBasePriority = 13,
|
|
|
|
wbemPrivilegeCreatePagefile = 14,
|
|
|
|
wbemPrivilegeCreatePermanent = 15,
|
|
|
|
wbemPrivilegeBackup = 16,
|
|
|
|
wbemPrivilegeRestore = 17,
|
|
|
|
wbemPrivilegeShutdown = 18,
|
|
|
|
wbemPrivilegeDebug = 19,
|
|
|
|
wbemPrivilegeAudit = 20,
|
|
|
|
wbemPrivilegeSystemEnvironment = 21,
|
|
|
|
wbemPrivilegeChangeNotify = 22,
|
|
|
|
wbemPrivilegeRemoteShutdown = 23,
|
|
|
|
wbemPrivilegeUndock = 24,
|
|
|
|
wbemPrivilegeSyncAgent = 25,
|
|
|
|
wbemPrivilegeEnableDelegation = 26,
|
|
|
|
wbemPrivilegeManageVolume = 27
|
|
|
|
} WbemPrivilegeEnum;
|
|
|
|
|
|
|
|
[
|
|
|
|
object,
|
|
|
|
local,
|
|
|
|
uuid(26ee67bd-5804-11d2-8b4a-00600806d9b6),
|
|
|
|
dual,
|
|
|
|
hidden,
|
|
|
|
oleautomation,
|
|
|
|
nonextensible
|
|
|
|
]
|
|
|
|
interface ISWbemPrivilege : IDispatch
|
|
|
|
{
|
|
|
|
[ id(DISPID_VALUE), propget ]
|
|
|
|
HRESULT IsEnabled(
|
|
|
|
[out, retval] VARIANT_BOOL *bIsEnabled);
|
|
|
|
|
|
|
|
[ id(DISPID_VALUE), propput ]
|
|
|
|
HRESULT IsEnabled(
|
|
|
|
[in] VARIANT_BOOL bIsEnabled);
|
|
|
|
|
|
|
|
[ id(1), propget ]
|
|
|
|
HRESULT Name(
|
|
|
|
[out, retval] BSTR *strDisplayName);
|
|
|
|
|
|
|
|
[ id(2), propget ]
|
|
|
|
HRESULT DisplayName(
|
|
|
|
[out, retval] BSTR *strDisplayName);
|
|
|
|
|
|
|
|
[ id(3), propget ]
|
|
|
|
HRESULT Identifier(
|
|
|
|
[out, retval] WbemPrivilegeEnum *iPrivilege);
|
2017-12-13 17:48:14 +01:00
|
|
|
}
|
2013-08-16 14:20:49 +02:00
|
|
|
|
|
|
|
[
|
|
|
|
object,
|
|
|
|
local,
|
|
|
|
uuid(26ee67bf-5804-11d2-8b4a-00600806d9b6),
|
|
|
|
dual,
|
|
|
|
hidden,
|
|
|
|
oleautomation,
|
|
|
|
nonextensible
|
|
|
|
]
|
|
|
|
interface ISWbemPrivilegeSet : IDispatch
|
|
|
|
{
|
|
|
|
[ id(DISPID_NEWENUM), propget, restricted ]
|
|
|
|
HRESULT _NewEnum(
|
|
|
|
[out, retval] IUnknown **pUnk);
|
|
|
|
|
|
|
|
[ id(DISPID_VALUE) ]
|
|
|
|
HRESULT Item(
|
|
|
|
[in] WbemPrivilegeEnum iPrivilege,
|
|
|
|
[out, retval] ISWbemPrivilege **objWbemPrivilege);
|
|
|
|
|
|
|
|
[ id(1), propget ]
|
|
|
|
HRESULT Count(
|
|
|
|
[out, retval] long *iCount);
|
|
|
|
|
|
|
|
[ id(2) ]
|
|
|
|
HRESULT Add(
|
|
|
|
[in] WbemPrivilegeEnum iPrivilege,
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue(TRUE)] VARIANT_BOOL bIsEnabled,
|
2013-08-16 14:20:49 +02:00
|
|
|
[out, retval] ISWbemPrivilege **objWbemPrivilege);
|
|
|
|
|
|
|
|
[ id(3) ]
|
|
|
|
HRESULT Remove(
|
|
|
|
[in] WbemPrivilegeEnum iPrivilege);
|
|
|
|
|
|
|
|
[ id(4) ]
|
|
|
|
HRESULT DeleteAll();
|
|
|
|
|
|
|
|
[ id(5) ]
|
|
|
|
HRESULT AddAsString(
|
|
|
|
[in] BSTR strPrivilege,
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue(TRUE)] VARIANT_BOOL bIsEnabled,
|
2013-08-16 14:20:49 +02:00
|
|
|
[out, retval] ISWbemPrivilege **objWbemPrivilege);
|
2017-12-13 17:48:14 +01:00
|
|
|
}
|
2013-08-16 14:20:49 +02:00
|
|
|
|
|
|
|
typedef
|
|
|
|
[
|
|
|
|
v1_enum,
|
|
|
|
uuid(4a249b7b-fc9a-11d1-8b1e-00600806d9b6),
|
|
|
|
]
|
|
|
|
enum WbemCimtypeEnum
|
|
|
|
{
|
|
|
|
wbemCimtypeSint16 = 2,
|
|
|
|
wbemCimtypeSint32 = 3,
|
|
|
|
wbemCimtypeReal32 = 4,
|
|
|
|
wbemCimtypeReal64 = 5,
|
|
|
|
wbemCimtypeString = 8,
|
|
|
|
wbemCimtypeBoolean = 11,
|
|
|
|
wbemCimtypeObject = 13,
|
|
|
|
wbemCimtypeSint8 = 16,
|
|
|
|
wbemCimtypeUint8 = 17,
|
|
|
|
wbemCimtypeUint16 = 18,
|
|
|
|
wbemCimtypeUint32 = 19,
|
|
|
|
wbemCimtypeSint64 = 20,
|
|
|
|
wbemCimtypeUint64 = 21,
|
|
|
|
wbemCimtypeDatetime = 101,
|
|
|
|
wbemCimtypeReference = 102,
|
|
|
|
wbemCimtypeChar16 = 103
|
|
|
|
} WbemCimtypeEnum;
|
|
|
|
|
2022-01-11 13:26:55 +01:00
|
|
|
typedef
|
|
|
|
[
|
|
|
|
v1_enum,
|
|
|
|
uuid(4a249b7c-fc9a-11d1-8b1e-00600806d9b6),
|
|
|
|
]
|
|
|
|
enum WbemErrorEnum
|
|
|
|
{
|
|
|
|
wbemNoErr = 0,
|
|
|
|
wbemErrFailed = 0x80041001,
|
|
|
|
wbemErrNotFound = 0x80041002,
|
|
|
|
wbemErrAccessDenied = 0x80041003,
|
|
|
|
wbemErrProviderFailure = 0x80041004,
|
|
|
|
wbemErrTypeMismatch = 0x80041005,
|
|
|
|
wbemErrOutOfMemory = 0x80041006,
|
|
|
|
wbemErrInvalidContext = 0x80041007,
|
|
|
|
wbemErrInvalidParameter = 0x80041008,
|
|
|
|
wbemErrNotAvailable = 0x80041009,
|
|
|
|
wbemErrCriticalError = 0x8004100a,
|
|
|
|
wbemErrInvalidStream = 0x8004100b,
|
|
|
|
wbemErrNotSupported = 0x8004100c,
|
|
|
|
wbemErrInvalidSuperclass = 0x8004100d,
|
|
|
|
wbemErrInvalidNamespace = 0x8004100e,
|
|
|
|
wbemErrInvalidObject = 0x8004100f,
|
|
|
|
wbemErrInvalidClass = 0x80041010,
|
|
|
|
wbemErrProviderNotFound = 0x80041011,
|
|
|
|
wbemErrInvalidProviderRegistration = 0x80041012,
|
|
|
|
wbemErrProviderLoadFailure = 0x80041013,
|
|
|
|
wbemErrInitializationFailure = 0x80041014,
|
|
|
|
wbemErrTransportFailure = 0x80041015,
|
|
|
|
wbemErrInvalidOperation = 0x80041016,
|
|
|
|
wbemErrInvalidQuery = 0x80041017,
|
|
|
|
wbemErrInvalidQueryType = 0x80041018,
|
|
|
|
wbemErrAlreadyExists = 0x80041019,
|
|
|
|
wbemErrOverrideNotAllowed = 0x8004101a,
|
|
|
|
wbemErrPropagatedQualifier = 0x8004101b,
|
|
|
|
wbemErrPropagatedProperty = 0x8004101c,
|
|
|
|
wbemErrUnexpected = 0x8004101d,
|
|
|
|
wbemErrIllegalOperation = 0x8004101e,
|
|
|
|
wbemErrCannotBeKey = 0x8004101f,
|
|
|
|
wbemErrIncompleteClass = 0x80041020,
|
|
|
|
wbemErrInvalidSyntax = 0x80041021,
|
|
|
|
wbemErrNondecoratedObject = 0x80041022,
|
|
|
|
wbemErrReadOnly = 0x80041023,
|
|
|
|
wbemErrProviderNotCapable = 0x80041024,
|
|
|
|
wbemErrClassHasChildren = 0x80041025,
|
|
|
|
wbemErrClassHasInstances = 0x80041026,
|
|
|
|
wbemErrQueryNotImplemented = 0x80041027,
|
|
|
|
wbemErrIllegalNull = 0x80041028,
|
|
|
|
wbemErrInvalidQualifierType = 0x80041029,
|
|
|
|
wbemErrInvalidPropertyType = 0x8004102a,
|
|
|
|
wbemErrValueOutOfRange = 0x8004102b,
|
|
|
|
wbemErrCannotBeSingleton = 0x8004102c,
|
|
|
|
wbemErrInvalidCimType = 0x8004102d,
|
|
|
|
wbemErrInvalidMethod = 0x8004102e,
|
|
|
|
wbemErrInvalidMethodParameters = 0x8004102f,
|
|
|
|
wbemErrSystemProperty = 0x80041030,
|
|
|
|
wbemErrInvalidProperty = 0x80041031,
|
|
|
|
wbemErrCallCancelled = 0x80041032,
|
|
|
|
wbemErrShuttingDown = 0x80041033,
|
|
|
|
wbemErrPropagatedMethod = 0x80041034,
|
|
|
|
wbemErrUnsupportedParameter = 0x80041035,
|
|
|
|
wbemErrMissingParameter = 0x80041036,
|
|
|
|
wbemErrInvalidParameterId = 0x80041037,
|
|
|
|
wbemErrNonConsecutiveParameterIds = 0x80041038,
|
|
|
|
wbemErrParameterIdOnRetval = 0x80041039,
|
|
|
|
wbemErrInvalidObjectPath = 0x8004103a,
|
|
|
|
wbemErrOutOfDiskSpace = 0x8004103b,
|
|
|
|
wbemErrBufferTooSmall = 0x8004103c,
|
|
|
|
wbemErrUnsupportedPutExtension = 0x8004103d,
|
|
|
|
wbemErrUnknownObjectType = 0x8004103e,
|
|
|
|
wbemErrUnknownPacketType = 0x8004103f,
|
|
|
|
wbemErrMarshalVersionMismatch = 0x80041040,
|
|
|
|
wbemErrMarshalInvalidSignature = 0x80041041,
|
|
|
|
wbemErrInvalidQualifier = 0x80041042,
|
|
|
|
wbemErrInvalidDuplicateParameter = 0x80041043,
|
|
|
|
wbemErrTooMuchData = 0x80041044,
|
|
|
|
wbemErrServerTooBusy = 0x80041045,
|
|
|
|
wbemErrInvalidFlavor = 0x80041046,
|
|
|
|
wbemErrCircularReference = 0x80041047,
|
|
|
|
wbemErrUnsupportedClassUpdate = 0x80041048,
|
|
|
|
wbemErrCannotChangeKeyInheritance = 0x80041049,
|
|
|
|
wbemErrCannotChangeIndexInheritance = 0x80041050,
|
|
|
|
wbemErrTooManyProperties = 0x80041051,
|
|
|
|
wbemErrUpdateTypeMismatch = 0x80041052,
|
|
|
|
wbemErrUpdateOverrideNotAllowed = 0x80041053,
|
|
|
|
wbemErrUpdatePropagatedMethod = 0x80041054,
|
|
|
|
wbemErrMethodNotImplemented = 0x80041055,
|
|
|
|
wbemErrMethodDisabled = 0x80041056,
|
|
|
|
wbemErrRefresherBusy = 0x80041057,
|
|
|
|
wbemErrUnparsableQuery = 0x80041058,
|
|
|
|
wbemErrNotEventClass = 0x80041059,
|
|
|
|
wbemErrMissingGroupWithin = 0x8004105a,
|
|
|
|
wbemErrMissingAggregationList = 0x8004105b,
|
|
|
|
wbemErrPropertyNotAnObject = 0x8004105c,
|
|
|
|
wbemErrAggregatingByObject = 0x8004105d,
|
|
|
|
wbemErrUninterpretableProviderQuery = 0x8004105f,
|
|
|
|
wbemErrBackupRestoreWinmgmtRunning = 0x80041060,
|
|
|
|
wbemErrQueueOverflow = 0x80041061,
|
|
|
|
wbemErrPrivilegeNotHeld = 0x80041062,
|
|
|
|
wbemErrInvalidOperator = 0x80041063,
|
|
|
|
wbemErrLocalCredentials = 0x80041064,
|
|
|
|
wbemErrCannotBeAbstract = 0x80041065,
|
|
|
|
wbemErrAmendedObject = 0x80041066,
|
|
|
|
wbemErrClientTooSlow = 0x80041067,
|
|
|
|
wbemErrNullSecurityDescriptor = 0x80041068,
|
|
|
|
wbemErrTimeout = 0x80041069,
|
|
|
|
wbemErrInvalidAssociation = 0x8004106a,
|
|
|
|
wbemErrAmbiguousOperation = 0x8004106b,
|
|
|
|
wbemErrQuotaViolation = 0x8004106c,
|
|
|
|
wbemErrTransactionConflict = 0x8004106d,
|
|
|
|
wbemErrForcedRollback = 0x8004106e,
|
|
|
|
wbemErrUnsupportedLocale = 0x8004106f,
|
|
|
|
wbemErrHandleOutOfDate = 0x80041070,
|
|
|
|
wbemErrConnectionFailed = 0x80041071,
|
|
|
|
wbemErrInvalidHandleRequest = 0x80041072,
|
|
|
|
wbemErrPropertyNameTooWide = 0x80041073,
|
|
|
|
wbemErrClassNameTooWide = 0x80041074,
|
|
|
|
wbemErrMethodNameTooWide = 0x80041075,
|
|
|
|
wbemErrQualifierNameTooWide = 0x80041076,
|
|
|
|
wbemErrRerunCommand = 0x80041077,
|
|
|
|
wbemErrDatabaseVerMismatch = 0x80041078,
|
|
|
|
wbemErrVetoPut = 0x80041079,
|
|
|
|
wbemErrVetoDelete = 0x8004107a,
|
|
|
|
wbemErrInvalidLocale = 0x80041080,
|
|
|
|
wbemErrProviderSuspended = 0x80041081,
|
|
|
|
wbemErrSynchronizationRequired = 0x80041082,
|
|
|
|
wbemErrNoSchema = 0x80041083,
|
|
|
|
wbemErrProviderAlreadyRegistered = 0x80041084,
|
|
|
|
wbemErrProviderNotRegistered = 0x80041085,
|
|
|
|
wbemErrFatalTransportError = 0x80041086,
|
|
|
|
wbemErrEncryptedConnectionRequired = 0x80041087,
|
|
|
|
wbemErrRegistrationTooBroad = 0x80042001,
|
|
|
|
wbemErrRegistrationTooPrecise = 0x80042002,
|
|
|
|
wbemErrTimedout = 0x80043001,
|
|
|
|
wbemErrResetToDefault = 0x80043002
|
|
|
|
} WbemErrorEnum;
|
|
|
|
|
2013-08-16 14:20:49 +02:00
|
|
|
[
|
|
|
|
object,
|
|
|
|
local,
|
|
|
|
uuid(1a388f98-d4ba-11d1-8b09-00600806d9b6),
|
|
|
|
dual,
|
|
|
|
hidden,
|
|
|
|
oleautomation,
|
|
|
|
pointer_default(unique)
|
|
|
|
]
|
|
|
|
interface ISWbemProperty : IDispatch
|
|
|
|
{
|
|
|
|
[ id(DISPID_VALUE), propget ]
|
|
|
|
HRESULT Value(
|
|
|
|
[out, retval] VARIANT *varValue);
|
|
|
|
|
|
|
|
[ id(DISPID_VALUE), propput ]
|
|
|
|
HRESULT Value(
|
|
|
|
[in] VARIANT *varValue);
|
|
|
|
|
|
|
|
[ id(1), propget ]
|
|
|
|
HRESULT Name(
|
|
|
|
[out, retval] BSTR *strName);
|
|
|
|
|
|
|
|
[ id(2), propget ]
|
|
|
|
HRESULT IsLocal(
|
|
|
|
[out, retval] VARIANT_BOOL *bIsLocal);
|
|
|
|
|
|
|
|
[ id(3), propget ]
|
|
|
|
HRESULT Origin(
|
|
|
|
[out, retval] BSTR *strOrigin);
|
|
|
|
|
|
|
|
[ id(4), propget ]
|
|
|
|
HRESULT CIMType(
|
|
|
|
[out, retval] WbemCimtypeEnum *iCimType);
|
|
|
|
|
|
|
|
[ id(5), propget ]
|
|
|
|
HRESULT Qualifiers_(
|
|
|
|
[out, retval] ISWbemQualifierSet **objWbemQualifierSet);
|
|
|
|
|
|
|
|
[ id(6), propget ]
|
|
|
|
HRESULT IsArray(
|
|
|
|
[out, retval] VARIANT_BOOL *bIsArray);
|
2017-12-13 17:48:14 +01:00
|
|
|
}
|
2013-08-16 14:20:49 +02:00
|
|
|
|
|
|
|
[
|
|
|
|
object,
|
|
|
|
local,
|
|
|
|
uuid(dea0a7b2-d4ba-11d1-8b09-00600806d9b6),
|
|
|
|
dual,
|
|
|
|
hidden,
|
|
|
|
oleautomation
|
|
|
|
]
|
|
|
|
interface ISWbemPropertySet : IDispatch
|
|
|
|
{
|
|
|
|
[ id(DISPID_NEWENUM), propget, restricted ]
|
|
|
|
HRESULT _NewEnum(
|
|
|
|
[out, retval] IUnknown **pUnk);
|
|
|
|
|
|
|
|
[ id(DISPID_VALUE) ]
|
|
|
|
HRESULT Item(
|
|
|
|
[in] BSTR strName,
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue(0)] long iFlags,
|
2013-08-16 14:20:49 +02:00
|
|
|
[out, retval] ISWbemProperty **objWbemProperty);
|
|
|
|
|
|
|
|
[ id(1), propget ]
|
|
|
|
HRESULT Count(
|
|
|
|
[out, retval] long *iCount);
|
|
|
|
|
|
|
|
[ id(2) ]
|
|
|
|
HRESULT Add(
|
|
|
|
[in] BSTR strName,
|
|
|
|
[in] WbemCimtypeEnum iCIMType,
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue(FALSE)] VARIANT_BOOL bIsArray,
|
|
|
|
[in, defaultvalue(0)] long iFlags,
|
2013-08-16 14:20:49 +02:00
|
|
|
[out, retval] ISWbemProperty **objWbemProperty);
|
|
|
|
|
|
|
|
[ id(3) ]
|
|
|
|
HRESULT Remove(
|
|
|
|
[in] BSTR strName,
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue(0)] long iFlags);
|
2017-12-13 17:48:14 +01:00
|
|
|
}
|
2013-08-16 14:20:49 +02:00
|
|
|
|
|
|
|
[
|
|
|
|
object,
|
|
|
|
local,
|
|
|
|
uuid(79b05932-d3b7-11d1-8b06-00600806d9b6),
|
|
|
|
dual,
|
|
|
|
hidden,
|
|
|
|
oleautomation,
|
|
|
|
nonextensible,
|
|
|
|
pointer_default(unique)
|
|
|
|
]
|
|
|
|
interface ISWbemQualifier : IDispatch
|
|
|
|
{
|
|
|
|
[ id(DISPID_VALUE), propget ]
|
|
|
|
HRESULT Value(
|
|
|
|
[out, retval] VARIANT *varValue);
|
|
|
|
|
|
|
|
[ id(DISPID_VALUE), propput ]
|
|
|
|
HRESULT Value(
|
|
|
|
[in] VARIANT *varValue);
|
|
|
|
|
|
|
|
[ id(1), propget ]
|
|
|
|
HRESULT Name(
|
|
|
|
[out, retval] BSTR *strName);
|
|
|
|
|
|
|
|
[ id(2), propget ]
|
|
|
|
HRESULT IsLocal(
|
|
|
|
[out, retval] VARIANT_BOOL *bIsLocal);
|
|
|
|
|
|
|
|
[ id(3), propget ]
|
|
|
|
HRESULT PropagatesToSubclass(
|
|
|
|
[out, retval] VARIANT_BOOL *bPropagatesToSubclass);
|
|
|
|
|
|
|
|
[ id(3), propput ]
|
|
|
|
HRESULT PropagatesToSubclass(
|
|
|
|
[in] VARIANT_BOOL bPropagatesToSubclass);
|
|
|
|
|
|
|
|
[ id(4), propget ]
|
|
|
|
HRESULT PropagatesToInstance(
|
|
|
|
[out, retval] VARIANT_BOOL *bPropagatesToInstance);
|
|
|
|
|
|
|
|
[ id(4), propput ]
|
|
|
|
HRESULT PropagatesToInstance(
|
|
|
|
[in] VARIANT_BOOL bPropagatesToInstance);
|
|
|
|
|
|
|
|
[ id(5), propget ]
|
|
|
|
HRESULT IsOverridable(
|
|
|
|
[out, retval] VARIANT_BOOL *bIsOverridable);
|
|
|
|
|
|
|
|
[ id(5), propput ]
|
|
|
|
HRESULT IsOverridable(
|
|
|
|
[in] VARIANT_BOOL bIsOverridable);
|
|
|
|
|
|
|
|
[ id(6), propget ]
|
|
|
|
HRESULT IsAmended(
|
|
|
|
[out, retval] VARIANT_BOOL *bIsAmended);
|
2017-12-13 17:48:14 +01:00
|
|
|
}
|
2013-08-16 14:20:49 +02:00
|
|
|
|
|
|
|
[
|
|
|
|
object,
|
|
|
|
local,
|
|
|
|
uuid(9b16ed16-d3df-11d1-8b08-00600806d9b6),
|
|
|
|
dual,
|
|
|
|
hidden,
|
|
|
|
oleautomation,
|
|
|
|
nonextensible
|
|
|
|
]
|
|
|
|
interface ISWbemQualifierSet : IDispatch
|
|
|
|
{
|
|
|
|
[ id(DISPID_NEWENUM), propget, restricted ]
|
|
|
|
HRESULT _NewEnum(
|
|
|
|
[out, retval] IUnknown **pUnk);
|
|
|
|
|
|
|
|
[ id(DISPID_VALUE) ]
|
|
|
|
HRESULT Item(
|
|
|
|
[in] BSTR name,
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue(0)] long iFlags,
|
2013-08-16 14:20:49 +02:00
|
|
|
[out, retval] ISWbemQualifier **objWbemQualifier);
|
|
|
|
|
|
|
|
[ id(1), propget ]
|
|
|
|
HRESULT Count(
|
|
|
|
[out, retval] long *iCount);
|
|
|
|
|
|
|
|
[ id(2) ]
|
|
|
|
HRESULT Add(
|
|
|
|
[in] BSTR strName,
|
|
|
|
[in] VARIANT *varVal,
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue(TRUE)] VARIANT_BOOL bPropagatesToSubclass,
|
|
|
|
[in, defaultvalue(TRUE)] VARIANT_BOOL bPropagatesToInstance,
|
|
|
|
[in, defaultvalue(TRUE)] VARIANT_BOOL bIsOverridable,
|
|
|
|
[in, defaultvalue(0)] long iFlags,
|
2013-08-16 14:20:49 +02:00
|
|
|
[out, retval] ISWbemQualifier **objWbemQualifier);
|
|
|
|
|
|
|
|
[ id(3) ]
|
|
|
|
HRESULT Remove(
|
|
|
|
[in] BSTR strName,
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue(0)] long iFlags);
|
2017-12-13 17:48:14 +01:00
|
|
|
}
|
2013-08-16 14:20:49 +02:00
|
|
|
|
2013-08-16 14:19:21 +02:00
|
|
|
typedef
|
|
|
|
[
|
|
|
|
v1_enum,
|
|
|
|
uuid(b54d66e8-2287-11d2-8b33-00600806d9b6)
|
|
|
|
]
|
|
|
|
enum WbemImpersonationLevelEnum
|
|
|
|
{
|
|
|
|
wbemImpersonationLevelAnonymous = 1,
|
|
|
|
wbemImpersonationLevelIdentify = 2,
|
|
|
|
wbemImpersonationLevelImpersonate = 3,
|
|
|
|
wbemImpersonationLevelDelegate = 4
|
|
|
|
} WbemImpersonationLevelEnum;
|
|
|
|
|
|
|
|
typedef
|
|
|
|
[
|
|
|
|
v1_enum,
|
|
|
|
uuid(b54d66e7-2287-11d2-8b33-00600806d9b6)
|
|
|
|
]
|
|
|
|
enum WbemAuthenticationLevelEnum
|
|
|
|
{
|
|
|
|
wbemAuthenticationLevelDefault = 0,
|
|
|
|
wbemAuthenticationLevelNone = 1,
|
|
|
|
wbemAuthenticationLevelConnect = 2,
|
|
|
|
wbemAuthenticationLevelCall = 3,
|
|
|
|
wbemAuthenticationLevelPkt = 4,
|
|
|
|
wbemAuthenticationLevelPktIntegrity = 5,
|
|
|
|
wbemAuthenticationLevelPktPrivacy = 6
|
|
|
|
} WbemAuthenticationLevelEnum;
|
|
|
|
|
|
|
|
[
|
|
|
|
object,
|
|
|
|
local,
|
|
|
|
uuid(b54d66e6-2287-11d2-8b33-00600806d9b6),
|
|
|
|
dual,
|
|
|
|
hidden,
|
|
|
|
oleautomation,
|
|
|
|
nonextensible
|
|
|
|
]
|
|
|
|
interface ISWbemSecurity : IDispatch
|
|
|
|
{
|
|
|
|
[ id(1), propget ]
|
|
|
|
HRESULT ImpersonationLevel(
|
|
|
|
[out, retval] WbemImpersonationLevelEnum *iImpersonationLevel);
|
|
|
|
|
|
|
|
[ id(1), propput ]
|
|
|
|
HRESULT ImpersonationLevel(
|
|
|
|
[in] WbemImpersonationLevelEnum iImpersonationLevel);
|
|
|
|
|
|
|
|
[ id(2), propget ]
|
|
|
|
HRESULT AuthenticationLevel(
|
|
|
|
[out, retval] WbemAuthenticationLevelEnum *iAuthenticationLevel);
|
|
|
|
|
|
|
|
[ id(2), propput ]
|
|
|
|
HRESULT AuthenticationLevel(
|
|
|
|
[in] WbemAuthenticationLevelEnum iAuthenticationLevel);
|
|
|
|
|
|
|
|
[ id(3), propget ]
|
|
|
|
HRESULT Privileges(
|
|
|
|
[out, retval] ISWbemPrivilegeSet **objWbemPrivilegeSet);
|
2017-12-13 17:48:14 +01:00
|
|
|
}
|
2013-08-16 14:19:21 +02:00
|
|
|
|
|
|
|
[
|
|
|
|
object,
|
|
|
|
local,
|
|
|
|
uuid(76a6415c-cb41-11d1-8b02-00600806d9b6),
|
|
|
|
dual,
|
|
|
|
hidden,
|
|
|
|
oleautomation,
|
|
|
|
pointer_default(unique)
|
|
|
|
]
|
|
|
|
interface ISWbemServices : IDispatch
|
|
|
|
{
|
|
|
|
[ id(1) ]
|
|
|
|
HRESULT Get(
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue("")] BSTR strObjectPath,
|
|
|
|
[in, defaultvalue(0)] long iFlags,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
|
2013-08-16 14:19:21 +02:00
|
|
|
[out, retval] ISWbemObject **objWbemObject);
|
|
|
|
|
|
|
|
[ id(2) ]
|
|
|
|
HRESULT GetAsync(
|
|
|
|
[in] IDispatch *objWbemSink,
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue("")] BSTR strObjectPath,
|
|
|
|
[in, defaultvalue(0)] long iFlags,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemAsyncContext);
|
2013-08-16 14:19:21 +02:00
|
|
|
|
|
|
|
[ id(3) ]
|
|
|
|
HRESULT Delete(
|
|
|
|
[in] BSTR strObjectPath,
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue(0)] long iFlags,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemNamedValueSet);
|
2013-08-16 14:19:21 +02:00
|
|
|
|
|
|
|
[ id(4) ]
|
|
|
|
HRESULT DeleteAsync(
|
|
|
|
[in] IDispatch *objWbemSink,
|
|
|
|
[in] BSTR strObjectPath,
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue(0)] long iFlags,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemAsyncContext);
|
2013-08-16 14:19:21 +02:00
|
|
|
|
|
|
|
[ id(5) ]
|
|
|
|
HRESULT InstancesOf(
|
|
|
|
[in] BSTR strClass,
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue(wbemFlagReturnImmediately)] long iFlags,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
|
2013-08-16 14:19:21 +02:00
|
|
|
[out, retval] ISWbemObjectSet **objWbemObjectSet);
|
|
|
|
|
|
|
|
[ id(6) ]
|
|
|
|
HRESULT InstancesOfAsync(
|
|
|
|
[in] IDispatch *objWbemSink,
|
|
|
|
[in] BSTR strClass,
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue(0)] long iFlags,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemAsyncContext);
|
2013-08-16 14:19:21 +02:00
|
|
|
|
|
|
|
[ id(7) ]
|
|
|
|
HRESULT SubclassesOf(
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue("")] BSTR strSuperclass,
|
|
|
|
[in, defaultvalue(wbemFlagReturnImmediately|wbemQueryFlagDeep)] long iFlags,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
|
2013-08-16 14:19:21 +02:00
|
|
|
[out, retval] ISWbemObjectSet **objWbemObjectSet);
|
|
|
|
|
|
|
|
[ id(8) ]
|
|
|
|
HRESULT SubclassesOfAsync(
|
|
|
|
[in] IDispatch *objWbemSink,
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue("")] BSTR strSuperclass,
|
|
|
|
[in, defaultvalue(wbemQueryFlagDeep)] long iFlags,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemAsyncContext);
|
2013-08-16 14:19:21 +02:00
|
|
|
|
|
|
|
[ id(9) ]
|
|
|
|
HRESULT ExecQuery(
|
|
|
|
[in] BSTR strQuery,
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue("WQL")] BSTR strQueryLanguage,
|
|
|
|
[in, defaultvalue(wbemFlagReturnImmediately)] long iFlags,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
|
2013-08-16 14:19:21 +02:00
|
|
|
[out, retval] ISWbemObjectSet **objWbemObjectSet);
|
|
|
|
|
|
|
|
[ id(10) ]
|
|
|
|
HRESULT ExecQueryAsync(
|
|
|
|
[in] IDispatch *objWbemSink,
|
|
|
|
[in] BSTR strQuery,
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue("WQL")] BSTR strQueryLanguage,
|
|
|
|
[in, defaultvalue(0)] long lFlags,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemAsyncContext);
|
2013-08-16 14:19:21 +02:00
|
|
|
|
|
|
|
[ id(11) ]
|
|
|
|
HRESULT AssociatorsOf(
|
|
|
|
[in] BSTR strObjectPath,
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue("")] BSTR strAssocClass,
|
|
|
|
[in, defaultvalue("")] BSTR strResultClass,
|
|
|
|
[in, defaultvalue("")] BSTR strResultRole,
|
|
|
|
[in, defaultvalue("")] BSTR strRole,
|
|
|
|
[in, defaultvalue(FALSE)] VARIANT_BOOL bClassesOnly,
|
|
|
|
[in, defaultvalue(FALSE)] VARIANT_BOOL bSchemaOnly,
|
|
|
|
[in, defaultvalue("")] BSTR strRequiredAssocQualifier,
|
|
|
|
[in, defaultvalue("")] BSTR strRequiredQualifier,
|
|
|
|
[in, defaultvalue(wbemFlagReturnImmediately)] long iFlags,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
|
2013-08-16 14:19:21 +02:00
|
|
|
[out, retval] ISWbemObjectSet **objWbemObjectSet);
|
|
|
|
|
|
|
|
[ id(12) ]
|
|
|
|
HRESULT AssociatorsOfAsync(
|
|
|
|
[in] IDispatch *objWbemSink,
|
|
|
|
[in] BSTR strObjectPath,
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue("")] BSTR strAssocClass,
|
|
|
|
[in, defaultvalue("")] BSTR strResultClass,
|
|
|
|
[in, defaultvalue("")] BSTR strResultRole,
|
|
|
|
[in, defaultvalue("")] BSTR strRole,
|
|
|
|
[in, defaultvalue(FALSE)] VARIANT_BOOL bClassesOnly,
|
|
|
|
[in, defaultvalue(FALSE)] VARIANT_BOOL bSchemaOnly,
|
|
|
|
[in, defaultvalue("")] BSTR strRequiredAssocQualifier,
|
|
|
|
[in, defaultvalue("")] BSTR strRequiredQualifier,
|
|
|
|
[in, defaultvalue(0)] long iFlags,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemAsyncContext);
|
2013-08-16 14:19:21 +02:00
|
|
|
|
|
|
|
[ id(13) ]
|
|
|
|
HRESULT ReferencesTo(
|
|
|
|
[in] BSTR strObjectPath,
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue("")] BSTR strResultClass,
|
|
|
|
[in, defaultvalue("")] BSTR strRole,
|
|
|
|
[in, defaultvalue(FALSE)] VARIANT_BOOL bClassesOnly,
|
|
|
|
[in, defaultvalue(FALSE)] VARIANT_BOOL bSchemaOnly,
|
|
|
|
[in, defaultvalue("")] BSTR strRequiredQualifier,
|
|
|
|
[in, defaultvalue(wbemFlagReturnImmediately)] long iFlags,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
|
2013-08-16 14:19:21 +02:00
|
|
|
[out, retval] ISWbemObjectSet **objWbemObjectSet);
|
|
|
|
|
|
|
|
[ id(14) ]
|
|
|
|
HRESULT ReferencesToAsync(
|
|
|
|
[in] IDispatch *objWbemSink,
|
|
|
|
[in] BSTR strObjectPath,
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue("")] BSTR strResultClass,
|
|
|
|
[in, defaultvalue("")] BSTR strRole,
|
|
|
|
[in, defaultvalue(FALSE)] VARIANT_BOOL bClassesOnly,
|
|
|
|
[in, defaultvalue(FALSE)] VARIANT_BOOL bSchemaOnly,
|
|
|
|
[in, defaultvalue("")] BSTR strRequiredQualifier,
|
|
|
|
[in, defaultvalue(0)] long iFlags,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemAsyncContext);
|
2013-08-16 14:19:21 +02:00
|
|
|
|
|
|
|
[ id(15) ]
|
|
|
|
HRESULT ExecNotificationQuery(
|
|
|
|
[in] BSTR strQuery,
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue("WQL")] BSTR strQueryLanguage,
|
|
|
|
[in, defaultvalue(wbemFlagReturnImmediately|wbemFlagForwardOnly)] long iFlags,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
|
2013-08-16 14:19:21 +02:00
|
|
|
[out, retval] ISWbemEventSource **objWbemEventSource);
|
|
|
|
|
|
|
|
[ id(16) ]
|
|
|
|
HRESULT ExecNotificationQueryAsync(
|
|
|
|
[in] IDispatch *objWbemSink,
|
|
|
|
[in] BSTR strQuery,
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue("WQL")] BSTR strQueryLanguage,
|
|
|
|
[in, defaultvalue(0)] long iFlags,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemAsyncContext);
|
2013-08-16 14:19:21 +02:00
|
|
|
|
|
|
|
[ id(17) ]
|
|
|
|
HRESULT ExecMethod(
|
|
|
|
[in] BSTR strObjectPath,
|
|
|
|
[in] BSTR strMethodName,
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemInParameters,
|
|
|
|
[in, defaultvalue(0)] long iFlags,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
|
2013-08-16 14:19:21 +02:00
|
|
|
[out, retval] ISWbemObject **objWbemOutParameters);
|
|
|
|
|
|
|
|
[ id(18) ]
|
|
|
|
HRESULT ExecMethodAsync(
|
|
|
|
[in] IDispatch *objWbemSink,
|
|
|
|
[in] BSTR strObjectPath,
|
|
|
|
[in] BSTR strMethodName,
|
2014-03-11 13:07:29 +01:00
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemInParameters,
|
|
|
|
[in, defaultvalue(0)] long iFlags,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
|
|
|
|
[in, defaultvalue(0)] IDispatch *objWbemAsyncContext);
|
2013-08-16 14:19:21 +02:00
|
|
|
|
|
|
|
[ id(19), propget ]
|
|
|
|
HRESULT Security_(
|
|
|
|
[out, retval] ISWbemSecurity **objWbemSecurity);
|
2017-12-13 17:48:14 +01:00
|
|
|
}
|
2013-08-16 14:20:49 +02:00
|
|
|
|
|
|
|
[
|
2013-08-28 12:14:20 +02:00
|
|
|
threading(apartment),
|
|
|
|
uuid(76a64158-cb41-11d1-8b02-00600806d9b6),
|
|
|
|
progid("WbemScripting.SWbemLocator.1"),
|
|
|
|
vi_progid("WbemScripting.SWbemLocator")
|
2013-08-16 14:20:49 +02:00
|
|
|
]
|
|
|
|
coclass SWbemLocator
|
|
|
|
{
|
|
|
|
interface ISWbemLocator;
|
2017-12-13 17:48:14 +01:00
|
|
|
}
|
2013-08-16 14:20:49 +02:00
|
|
|
|
2021-02-24 07:40:23 +01:00
|
|
|
[
|
|
|
|
threading(apartment),
|
|
|
|
uuid(9aed384e-ce8b-11d1-8b05-00600806d9b6),
|
|
|
|
progid("WbemScripting.SWbemNamedValueSet.1"),
|
|
|
|
vi_progid("WbemScripting.SWbemNamedValueSet")
|
|
|
|
]
|
|
|
|
coclass SWbemNamedValueSet
|
|
|
|
{
|
|
|
|
interface ISWbemNamedValueSet;
|
|
|
|
}
|
|
|
|
|
2017-12-13 17:48:14 +01:00
|
|
|
} /* WbemScripting */
|