34#include "wbemdisp_classes.h"
62 &IID_ISWbemPropertySet,
78 ERR(
"LoadRegTypeLib failed: %08x\n",
hr );
98 ITypeInfo_AddRef( *
ret );
152 ISWbemProperty_AddRef( iface );
180 TRACE(
"%p, %s, %p, %u, %u, %p\n",
property,
debugstr_guid(
riid),
names,
count, lcid, dispid );
201 TRACE(
"%p, %d, %s, %d, %d, %p, %p, %p, %p\n",
property,
member,
debugstr_guid(
riid),
288 TRACE(
"%p, %p\n",
obj, wbem_object );
293 property->object = wbem_object;
296 *
obj = &
property->ISWbemProperty_iface;
297 TRACE(
"returning iface %p\n", *
obj );
309 ISWbemPropertySet *iface )
351 ISWbemPropertySet_AddRef( iface );
379 TRACE(
"%p, %s, %p, %u, %u, %p\n",
propertyset,
debugstr_guid(
riid),
names,
count, lcid, dispid );
400 TRACE(
"%p, %d, %s, %d, %d, %p, %p, %p, %p\n",
propertyset,
member,
debugstr_guid(
riid),
439 static const WCHAR propcountW[] = {
'_',
'_',
'P',
'R',
'O',
'P',
'E',
'R',
'T',
'Y',
'_',
'C',
'O',
'U',
'N',
'T',0};
487 TRACE(
"%p, %p\n",
obj, wbem_object );
496 TRACE(
"returning iface %p\n", *
obj );
500#define DISPID_BASE 0x1800000
501#define DISPID_BASE_METHOD 0x1000000
522 ISWbemObject *iface )
528 ISWbemObject *iface )
535 ISWbemObject *iface )
543 TRACE(
"destroying %p\n",
object );
572 ISWbemObject_AddRef( iface );
614 hr = IWbemClassObject_BeginMethodEnumeration(
object->
object, 0 );
621 if (sig_in) IWbemClassObject_Release( sig_in );
622 if (sig_out) IWbemClassObject_Release( sig_out );
624 IWbemClassObject_EndMethodEnumeration(
object->
object );
634 object->members[
i].name =
name;
635 object->members[
i].is_method =
FALSE;
636 object->members[
i].dispid = 0;
647 hr = IWbemClassObject_BeginMethodEnumeration(
object->
object, 0 );
652 object->members[
i].name =
name;
653 object->members[
i].is_method =
TRUE;
654 object->members[
i].dispid = 0;
657 IWbemClassObject_EndMethodEnumeration(
object->
object );
660 if (sig_in) IWbemClassObject_Release( sig_in );
661 if (sig_out) IWbemClassObject_Release( sig_out );
664 IWbemClassObject_EndMethodEnumeration(
object->
object );
667 object->nb_members =
count;
674 object->members =
NULL;
675 object->nb_members = 0;
682 for (
i = 0;
i <
object->nb_members;
i++)
689 object->members[
i].dispid = ++
object->last_dispid_method;
691 object->members[
i].dispid = ++
object->last_dispid;
693 return object->members[
i].dispid;
696 return DISPID_UNKNOWN;
712 TRACE(
"%p, %s, %p, %u, %u, %p\n",
object,
debugstr_guid(
riid),
names,
count, lcid, dispid );
738 for (
i = 0;
i <
object->nb_members;
i++)
740 if (
object->
members[
i].dispid == dispid)
return object->members[
i].name;
753 EXCEPINFO *excep_info,
761 TRACE(
"%p, %x, %s, %u, %x, %p, %p, %p, %p\n",
object,
member,
debugstr_guid(
riid),
792 ISWbemObjectPath **objWbemObjectPath )
833 ISWbemObjectSet **objWbemObjectSet )
854 ISWbemObjectSet **objWbemObjectSet )
879 BSTR strRequiredAssocQualifier,
880 BSTR strRequiredQualifier,
883 ISWbemObjectSet **objWbemObjectSet )
898 BSTR strRequiredAssocQualifier,
899 BSTR strRequiredQualifier,
914 BSTR strRequiredQualifier,
917 ISWbemObjectSet **objWbemObjectSet )
930 BSTR strRequiredQualifier,
945 ISWbemObject **objWbemOutParameters )
966 ISWbemObject **objWbemObject )
975 BSTR *strObjectText )
984 ISWbemObject **objWbemObject )
993 ISWbemObject **objWbemObject )
1000 ISWbemObject *iface,
1010 ISWbemObject *iface,
1011 ISWbemQualifierSet **objWbemQualifierSet )
1021 TRACE(
"%p, %p\n",
object, prop_set );
1026 ISWbemObject *iface,
1027 ISWbemMethodSet **objWbemMethodSet )
1034 ISWbemObject *iface,
1042 ISWbemObject *iface,
1043 ISWbemObjectPath **objWbemObjectPath )
1050 ISWbemObject *iface,
1051 ISWbemSecurity **objWbemSecurity )
1097 TRACE(
"%p, %p\n",
obj, wbem_object );
1102 object->object = wbem_object;
1104 object->members =
NULL;
1105 object->nb_members = 0;
1109 *
obj = &
object->ISWbemObject_iface;
1110 TRACE(
"returning iface %p\n", *
obj );
1123 ISWbemObjectSet *iface )
1129 ISWbemObjectSet *iface )
1136 ISWbemObjectSet *iface )
1150 ISWbemObjectSet *iface,
1169 ISWbemObjectSet_AddRef( iface );
1174 ISWbemObjectSet *iface,
1184 ISWbemObjectSet *iface,
1196 ISWbemObjectSet *iface,
1207 TRACE(
"%p, %s, %p, %u, %u, %p\n",
objectset,
debugstr_guid(
riid),
names,
count, lcid, dispid );
1221 ISWbemObjectSet *iface,
1228 EXCEPINFO *excep_info,
1235 TRACE(
"%p, %d, %s, %d, %d, %p, %p, %p, %p\n",
objectset,
member,
debugstr_guid(
riid),
1249 ISWbemObjectSet *iface,
1267 ISWbemObjectSet *iface,
1270 ISWbemObject **objWbemObject )
1277 ISWbemObjectSet *iface,
1289 ISWbemObjectSet *iface,
1290 ISWbemSecurity **objWbemSecurity )
1297 ISWbemObjectSet *iface,
1299 ISWbemObject **objWbemObject )
1309 *objWbemObject =
NULL;
1310 hr = ISWbemObjectSet_get_Count( iface, &
count );
1315 hr = ISWbemObjectSet_get__NewEnum( iface, (
IUnknown **)&enum_var );
1318 IEnumVARIANT_Reset( enum_var );
1319 hr = IEnumVARIANT_Skip( enum_var, lIndex );
1321 hr = IEnumVARIANT_Next( enum_var, 1, &
var,
NULL );
1322 IEnumVARIANT_Release( enum_var );
1327 hr = IDispatch_QueryInterface(
V_DISPATCH( &
var ), &IID_ISWbemObject, (
void **)objWbemObject );
1356 IEnumWbemClassObject_Reset( iter );
1364 TRACE(
"%p, %p\n",
obj, wbem_objectenum );
1374 TRACE(
"returning iface %p\n", *
obj );
1431 IEnumVARIANT_AddRef( iface );
1441 TRACE(
"%p, %u, %p, %p\n", iface, celt,
var, fetched );
1450 IWbemClassObject_Release(
obj );
1456 if (fetched) *fetched =
count;
1464 TRACE(
"%p, %u\n", iface, celt );
1473 TRACE(
"%p\n", iface );
1480 FIXME(
"%p, %p\n", iface, penum );
1506 TRACE(
"returning iface %p\n", *
obj );
1518 ISWbemServices *iface )
1524 ISWbemServices *iface )
1531 ISWbemServices *iface )
1545 ISWbemServices *iface,
1564 ISWbemServices_AddRef( iface );
1569 ISWbemServices *iface,
1580 ISWbemServices *iface,
1592 ISWbemServices *iface,
1603 TRACE(
"%p, %s, %p, %u, %u, %p\n",
services,
debugstr_guid(
riid),
names,
count, lcid, dispid );
1617 ISWbemServices *iface,
1624 EXCEPINFO *excep_info,
1631 TRACE(
"%p, %d, %s, %d, %d, %p, %p, %p, %p\n",
services,
member,
debugstr_guid(
riid),
1645 ISWbemServices *iface,
1649 ISWbemObject **objWbemObject )
1655 TRACE(
"%p, %s, %d, %p, %p\n", iface,
debugstr_w(strObjectPath), iFlags, objWbemNamedValueSet,
1658 if (objWbemNamedValueSet)
FIXME(
"ignoring context\n" );
1664 IWbemClassObject_Release(
obj );
1669 ISWbemServices *iface,
1681 ISWbemServices *iface,
1691 ISWbemServices*
This,
1704 static const WCHAR selectW[] = {
'S',
'E',
'L',
'E',
'C',
'T',
' ',
'*',
' ',
'F',
'R',
'O',
'M',
' ',0};
1715 ISWbemServices *iface,
1719 ISWbemObjectSet **objWbemObjectSet )
1721 static const WCHAR wqlW[] = {
'W',
'Q',
'L',0};
1725 TRACE(
"%p, %s, %x, %p, %p\n", iface,
debugstr_w(strClass), iFlags, objWbemNamedValueSet,
1733 hr = ISWbemServices_ExecQuery( iface,
query, wql, iFlags, objWbemNamedValueSet, objWbemObjectSet );
1740 ISWbemServices *iface,
1752 ISWbemServices *iface,
1756 ISWbemObjectSet **objWbemObjectSet )
1763 ISWbemServices *iface,
1775 ISWbemServices *iface,
1777 BSTR strQueryLanguage,
1780 ISWbemObjectSet **objWbemObjectSet )
1787 iFlags, objWbemNamedValueSet, objWbemObjectSet );
1789 if (objWbemNamedValueSet)
FIXME(
"ignoring context\n" );
1795 IEnumWbemClassObject_Release( iter );
1800 ISWbemServices *iface,
1803 BSTR strQueryLanguage,
1813 ISWbemServices *iface,
1816 BSTR strResultClass,
1821 BSTR strRequiredAssocQualifier,
1822 BSTR strRequiredQualifier,
1825 ISWbemObjectSet **objWbemObjectSet )
1832 ISWbemServices *iface,
1836 BSTR strResultClass,
1841 BSTR strRequiredAssocQualifier,
1842 BSTR strRequiredQualifier,
1852 ISWbemServices *iface,
1854 BSTR strResultClass,
1858 BSTR strRequiredQualifier,
1861 ISWbemObjectSet **objWbemObjectSet )
1868 ISWbemServices *iface,
1871 BSTR strResultClass,
1875 BSTR strRequiredQualifier,
1885 ISWbemServices *iface,
1887 BSTR strQueryLanguage,
1890 ISWbemEventSource **objWbemEventSource )
1897 ISWbemServices *iface,
1900 BSTR strQueryLanguage,
1910 ISWbemServices *iface,
1916 ISWbemObject **objWbemOutParameters )
1923 ISWbemServices *iface,
1937 ISWbemServices *iface,
1938 ISWbemSecurity **objWbemSecurity )
1940 TRACE(
"%p, %p\n", iface, objWbemSecurity );
1942 if (!objWbemSecurity)
1991 TRACE(
"returning iface %p\n", *
obj );
2008 ISWbemLocator *iface )
2015 ISWbemLocator *iface )
2030 ISWbemLocator *iface,
2049 ISWbemLocator_AddRef( iface );
2054 ISWbemLocator *iface,
2065 ISWbemLocator *iface,
2077 ISWbemLocator *iface,
2088 TRACE(
"%p, %s, %p, %u, %u, %p\n",
locator,
debugstr_guid(
riid),
names,
count, lcid, dispid );
2102 ISWbemLocator *iface,
2109 EXCEPINFO *excep_info,
2116 TRACE(
"%p, %d, %s, %d, %d, %p, %p, %p, %p\n",
locator,
member,
debugstr_guid(
riid),
2131 static const WCHAR defaultW[] = {
'r',
'o',
'o',
't',
'\\',
'd',
'e',
'f',
'a',
'u',
'l',
't',0};
2132 ULONG len, len_server = 0, len_namespace = 0;
2136 else len_server = 1;
2137 if (
namespace && *
namespace) len_namespace =
lstrlenW(
namespace );
2146 len = len_server + 2;
2155 ISWbemLocator *iface,
2162 LONG iSecurityFlags,
2164 ISWbemServices **objWbemServices )
2171 TRACE(
"%p, %s, %s, %s, %p, %s, %s, 0x%08x, %p, %p\n", iface,
debugstr_w(strServer),
2173 debugstr_w(strAuthority), iSecurityFlags, objWbemNamedValueSet, objWbemServices );
2175 if (objWbemNamedValueSet)
FIXME(
"context not supported\n" );
2196 ISWbemLocator *iface,
2197 ISWbemSecurity **objWbemSecurity )
2199 TRACE(
"%p, %p\n", iface, objWbemSecurity );
2201 if (!objWbemSecurity)
2232 TRACE(
"returning iface %p\n", *
obj );
2250 ISWbemSecurity *iface )
2257 ISWbemSecurity *iface )
2270 ISWbemSecurity *iface,
2288 ISWbemSecurity_AddRef( iface );
2293 ISWbemSecurity *iface,
2304 ISWbemSecurity *iface,
2316 ISWbemSecurity *iface,
2327 TRACE(
"%p, %s, %p, %u, %u, %p\n",
security,
debugstr_guid(
riid),
names,
count, lcid, dispid );
2341 ISWbemSecurity *iface,
2348 EXCEPINFO *excep_info,
2355 TRACE(
"%p, %d, %s, %d, %d, %p, %p, %p, %p\n",
security,
member,
debugstr_guid(
riid),
2369 ISWbemSecurity *iface,
2370 WbemImpersonationLevelEnum *impersonation_level )
2375 if (!impersonation_level)
2383 ISWbemSecurity *iface,
2384 WbemImpersonationLevelEnum impersonation_level )
2394 ISWbemSecurity *iface,
2395 WbemAuthenticationLevelEnum *authentication_level )
2400 if (!authentication_level)
2408 ISWbemSecurity *iface,
2409 WbemAuthenticationLevelEnum authentication_level )
2419 ISWbemSecurity *iface,
2420 ISWbemPrivilegeSet **privilege_set )
2460 TRACE(
"returning iface %p\n", *
obj );
static void * heap_alloc(size_t len)
static BOOL heap_free(void *mem)
#define InterlockedIncrement
#define InterlockedDecrement
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
HRESULT WINAPI DECLSPEC_HOTPATCH CoCreateInstance(REFCLSID rclsid, LPUNKNOWN pUnkOuter, DWORD dwClsContext, REFIID iid, LPVOID *ppv)
HRESULT WINAPI LoadRegTypeLib(REFGUID rguid, WORD wVerMajor, WORD wVerMinor, LCID lcid, ITypeLib **ppTLib)
static void *static void *static LPDIRECTPLAY IUnknown * pUnk
GLuint GLuint GLsizei GLenum type
GLuint GLuint GLsizei count
GLenum const GLfloat * params
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
static const WCHAR selectW[]
#define InterlockedCompareExchangePointer
static HRESULT WINAPI property_Invoke(ISWbemProperty *iface, DISPID member, REFIID riid, LCID lcid, WORD flags, DISPPARAMS *params, VARIANT *result, EXCEPINFO *excep_info, UINT *arg_err)
static ULONG WINAPI security_AddRef(ISWbemSecurity *iface)
static HRESULT SWbemProperty_create(IWbemClassObject *wbem_object, BSTR name, ISWbemProperty **obj)
static HRESULT WINAPI object_ExecMethodAsync_(ISWbemObject *iface, IDispatch *objWbemSink, BSTR strMethodName, IDispatch *objWbemInParameters, LONG iFlags, IDispatch *objWbemNamedValueSet, IDispatch *objWbemAsyncContext)
static HRESULT WINAPI enumvar_Clone(IEnumVARIANT *iface, IEnumVARIANT **penum)
static HRESULT WINAPI propertyset_GetIDsOfNames(ISWbemPropertySet *iface, REFIID riid, LPOLESTR *names, UINT count, LCID lcid, DISPID *dispid)
static HRESULT WINAPI services_ExecMethodAsync(ISWbemServices *iface, IDispatch *objWbemSink, BSTR strObjectPath, BSTR strMethodName, IDispatch *objWbemInParameters, LONG iFlags, IDispatch *objWbemNamedValueSet, IDispatch *objWbemAsyncContext)
static HRESULT WINAPI enumvar_Reset(IEnumVARIANT *iface)
static const ISWbemServicesVtbl services_vtbl
static HRESULT WINAPI object_PutAsync_(ISWbemObject *iface, IDispatch *objWbemSink, LONG iFlags, IDispatch *objWbemNamedValueSet, IDispatch *objWbemAsyncContext)
static HRESULT WINAPI object_Associators_(ISWbemObject *iface, BSTR strAssocClass, BSTR strResultClass, BSTR strResultRole, BSTR strRole, VARIANT_BOOL bClassesOnly, VARIANT_BOOL bSchemaOnly, BSTR strRequiredAssocQualifier, BSTR strRequiredQualifier, LONG iFlags, IDispatch *objWbemNamedValueSet, ISWbemObjectSet **objWbemObjectSet)
static HRESULT WINAPI objectset_ItemIndex(ISWbemObjectSet *iface, LONG lIndex, ISWbemObject **objWbemObject)
static REFIID wbemdisp_tid_id[]
static BSTR build_query_string(const WCHAR *class)
static ULONG WINAPI object_Release(ISWbemObject *iface)
static HRESULT WINAPI object_AssociatorsAsync_(ISWbemObject *iface, IDispatch *objWbemSink, BSTR strAssocClass, BSTR strResultClass, BSTR strResultRole, BSTR strRole, VARIANT_BOOL bClassesOnly, VARIANT_BOOL bSchemaOnly, BSTR strRequiredAssocQualifier, BSTR strRequiredQualifier, LONG iFlags, IDispatch *objWbemNamedValueSet, IDispatch *objWbemAsyncContext)
static HRESULT WINAPI locator_QueryInterface(ISWbemLocator *iface, REFIID riid, void **ppvObject)
static HRESULT WINAPI security_GetTypeInfoCount(ISWbemSecurity *iface, UINT *count)
static HRESULT WINAPI object_GetTypeInfo(ISWbemObject *iface, UINT index, LCID lcid, ITypeInfo **info)
static HRESULT WINAPI property_get_Qualifiers_(ISWbemProperty *iface, ISWbemQualifierSet **objWbemQualifierSet)
static ITypeLib * wbemdisp_typelib
static HRESULT WINAPI object_get_Derivation_(ISWbemObject *iface, VARIANT *strClassNameArray)
static HRESULT WINAPI propertyset_QueryInterface(ISWbemPropertySet *iface, REFIID riid, void **obj)
static HRESULT WINAPI property_GetTypeInfoCount(ISWbemProperty *iface, UINT *count)
static HRESULT WINAPI property_QueryInterface(ISWbemProperty *iface, REFIID riid, void **obj)
static HRESULT WINAPI property_get_Name(ISWbemProperty *iface, BSTR *strName)
static HRESULT WINAPI security_put_ImpersonationLevel(ISWbemSecurity *iface, WbemImpersonationLevelEnum impersonation_level)
HRESULT SWbemLocator_create(void **obj)
static DISPID get_member_dispid(struct object *object, const WCHAR *name)
static HRESULT WINAPI object_Invoke(ISWbemObject *iface, DISPID member, REFIID riid, LCID lcid, WORD flags, DISPPARAMS *params, VARIANT *result, EXCEPINFO *excep_info, UINT *arg_err)
static HRESULT WINAPI services_get_Security_(ISWbemServices *iface, ISWbemSecurity **objWbemSecurity)
static HRESULT WINAPI services_ExecMethod(ISWbemServices *iface, BSTR strObjectPath, BSTR strMethodName, IDispatch *objWbemInParameters, LONG iFlags, IDispatch *objWbemNamedValueSet, ISWbemObject **objWbemOutParameters)
static HRESULT WINAPI services_DeleteAsync(ISWbemServices *This, IDispatch *objWbemSink, BSTR strObjectPath, LONG iFlags, IDispatch *objWbemNamedValueSet, IDispatch *objWbemAsyncContext)
static HRESULT WINAPI objectset_Item(ISWbemObjectSet *iface, BSTR strObjectPath, LONG iFlags, ISWbemObject **objWbemObject)
static HRESULT WINAPI security_Invoke(ISWbemSecurity *iface, DISPID member, REFIID riid, LCID lcid, WORD flags, DISPPARAMS *params, VARIANT *result, EXCEPINFO *excep_info, UINT *arg_err)
static HRESULT WINAPI property_get_IsArray(ISWbemProperty *iface, VARIANT_BOOL *bIsArray)
static HRESULT SWbemObject_create(IWbemClassObject *wbem_object, ISWbemObject **obj)
static HRESULT WINAPI services_GetTypeInfoCount(ISWbemServices *iface, UINT *count)
static HRESULT WINAPI services_Delete(ISWbemServices *iface, BSTR strObjectPath, LONG iFlags, IDispatch *objWbemNamedValueSet)
static ULONG WINAPI security_Release(ISWbemSecurity *iface)
static const ISWbemPropertySetVtbl propertyset_vtbl
static HRESULT WINAPI services_Get(ISWbemServices *iface, BSTR strObjectPath, LONG iFlags, IDispatch *objWbemNamedValueSet, ISWbemObject **objWbemObject)
static HRESULT SWbemObjectSet_create(IEnumWbemClassObject *wbem_objectenum, ISWbemObjectSet **obj)
static HRESULT WINAPI object_SpawnInstance_(ISWbemObject *iface, LONG iFlags, ISWbemObject **objWbemObject)
static HRESULT WINAPI object_get_Qualifiers_(ISWbemObject *iface, ISWbemQualifierSet **objWbemQualifierSet)
static HRESULT ISWbemSecurity_create(ISWbemSecurity **)
static ULONG WINAPI object_AddRef(ISWbemObject *iface)
static HRESULT WINAPI locator_get_Security_(ISWbemLocator *iface, ISWbemSecurity **objWbemSecurity)
static HRESULT WINAPI locator_Invoke(ISWbemLocator *iface, DISPID member, REFIID riid, LCID lcid, WORD flags, DISPPARAMS *params, VARIANT *result, EXCEPINFO *excep_info, UINT *arg_err)
static HRESULT WINAPI locator_GetTypeInfoCount(ISWbemLocator *iface, UINT *count)
static HRESULT WINAPI property_get_IsLocal(ISWbemProperty *iface, VARIANT_BOOL *bIsLocal)
static HRESULT WINAPI locator_GetTypeInfo(ISWbemLocator *iface, UINT index, LCID lcid, ITypeInfo **info)
static HRESULT WINAPI object_get_Path_(ISWbemObject *iface, ISWbemObjectPath **objWbemObjectPath)
static HRESULT WINAPI object_SubclassesAsync_(ISWbemObject *iface, IDispatch *objWbemSink, LONG iFlags, IDispatch *objWbemNamedValueSet, IDispatch *objWbemAsyncContext)
static HRESULT WINAPI propertyset_get__NewEnum(ISWbemPropertySet *iface, IUnknown **unk)
static HRESULT WINAPI objectset_GetTypeInfo(ISWbemObjectSet *iface, UINT index, LCID lcid, ITypeInfo **info)
static struct property * impl_from_ISWbemProperty(ISWbemProperty *iface)
static HRESULT WINAPI services_ExecQuery(ISWbemServices *iface, BSTR strQuery, BSTR strQueryLanguage, LONG iFlags, IDispatch *objWbemNamedValueSet, ISWbemObjectSet **objWbemObjectSet)
static HRESULT WINAPI objectset_get__NewEnum(ISWbemObjectSet *iface, IUnknown **pUnk)
static HRESULT WINAPI propertyset_Add(ISWbemPropertySet *iface, BSTR name, WbemCimtypeEnum type, VARIANT_BOOL is_array, LONG flags, ISWbemProperty **prop)
static HRESULT WINAPI property_GetTypeInfo(ISWbemProperty *iface, UINT index, LCID lcid, ITypeInfo **info)
static HRESULT WINAPI object_get_Security_(ISWbemObject *iface, ISWbemSecurity **objWbemSecurity)
static HRESULT WINAPI object_GetTypeInfoCount(ISWbemObject *iface, UINT *count)
static HRESULT WINAPI objectset_Invoke(ISWbemObjectSet *iface, DISPID member, REFIID riid, LCID lcid, WORD flags, DISPPARAMS *params, VARIANT *result, EXCEPINFO *excep_info, UINT *arg_err)
static HRESULT WINAPI propertyset_get_Count(ISWbemPropertySet *iface, LONG *count)
static HRESULT WINAPI object_InstancesAsync_(ISWbemObject *iface, IDispatch *objWbemSink, LONG iFlags, IDispatch *objWbemNamedValueSet, IDispatch *objWbemAsyncContext)
static HRESULT WINAPI services_ExecNotificationQuery(ISWbemServices *iface, BSTR strQuery, BSTR strQueryLanguage, LONG iFlags, IDispatch *objWbemNamedValueSet, ISWbemEventSource **objWbemEventSource)
static HRESULT SWbemPropertySet_create(IWbemClassObject *wbem_object, ISWbemPropertySet **obj)
static HRESULT WINAPI services_AssociatorsOfAsync(ISWbemServices *iface, IDispatch *objWbemSink, BSTR strObjectPath, BSTR strAssocClass, BSTR strResultClass, BSTR strResultRole, BSTR strRole, VARIANT_BOOL bClassesOnly, VARIANT_BOOL bSchemaOnly, BSTR strRequiredAssocQualifier, BSTR strRequiredQualifier, LONG iFlags, IDispatch *objWbemNamedValueSet, IDispatch *objWbemAsyncContext)
static const ISWbemSecurityVtbl security_vtbl
static HRESULT WINAPI security_get_AuthenticationLevel(ISWbemSecurity *iface, WbemAuthenticationLevelEnum *authentication_level)
static BSTR get_member_name(struct object *object, DISPID dispid)
static HRESULT WINAPI property_get_Value(ISWbemProperty *iface, VARIANT *value)
static ULONG WINAPI services_Release(ISWbemServices *iface)
static HRESULT WINAPI object_References_(ISWbemObject *iface, BSTR strResultClass, BSTR strRole, VARIANT_BOOL bClassesOnly, VARIANT_BOOL bSchemaOnly, BSTR strRequiredQualifier, LONG iFlags, IDispatch *objWbemNamedValueSet, ISWbemObjectSet **objWbemObjectSet)
static HRESULT WINAPI services_SubclassesOf(ISWbemServices *iface, BSTR strSuperclass, LONG iFlags, IDispatch *objWbemNamedValueSet, ISWbemObjectSet **objWbemObjectSet)
static HRESULT WINAPI services_InstancesOf(ISWbemServices *iface, BSTR strClass, LONG iFlags, IDispatch *objWbemNamedValueSet, ISWbemObjectSet **objWbemObjectSet)
static const ISWbemLocatorVtbl locator_vtbl
static ULONG WINAPI objectset_Release(ISWbemObjectSet *iface)
static struct locator * impl_from_ISWbemLocator(ISWbemLocator *iface)
static HRESULT get_typeinfo(enum type_id tid, ITypeInfo **ret)
static HRESULT WINAPI security_get_ImpersonationLevel(ISWbemSecurity *iface, WbemImpersonationLevelEnum *impersonation_level)
static HRESULT WINAPI enumvar_Next(IEnumVARIANT *iface, ULONG celt, VARIANT *var, ULONG *fetched)
static HRESULT WINAPI services_ExecNotificationQueryAsync(ISWbemServices *iface, IDispatch *objWbemSink, BSTR strQuery, BSTR strQueryLanguage, LONG iFlags, IDispatch *objWbemNamedValueSet, IDispatch *objWbemAsyncContext)
static HRESULT WINAPI services_InstancesOfAsync(ISWbemServices *iface, IDispatch *objWbemSink, BSTR strClass, LONG iFlags, IDispatch *objWbemNamedValueSet, IDispatch *objWbemAsyncContext)
static HRESULT WINAPI property_GetIDsOfNames(ISWbemProperty *iface, REFIID riid, LPOLESTR *names, UINT count, LCID lcid, DISPID *dispid)
static HRESULT WINAPI security_put_AuthenticationLevel(ISWbemSecurity *iface, WbemAuthenticationLevelEnum authentication_level)
static struct services * impl_from_ISWbemServices(ISWbemServices *iface)
static HRESULT WINAPI object_Subclasses_(ISWbemObject *iface, LONG iFlags, IDispatch *objWbemNamedValueSet, ISWbemObjectSet **objWbemObjectSet)
static const struct IEnumVARIANTVtbl enumvar_vtbl
static HRESULT WINAPI propertyset_GetTypeInfo(ISWbemPropertySet *iface, UINT index, LCID lcid, ITypeInfo **info)
static ULONG WINAPI property_Release(ISWbemProperty *iface)
static ULONG WINAPI propertyset_AddRef(ISWbemPropertySet *iface)
static struct objectset * impl_from_ISWbemObjectSet(ISWbemObjectSet *iface)
static HRESULT WINAPI object_get_Methods_(ISWbemObject *iface, ISWbemMethodSet **objWbemMethodSet)
static HRESULT WINAPI services_ReferencesToAsync(ISWbemServices *iface, IDispatch *objWbemSink, BSTR strObjectPath, BSTR strResultClass, BSTR strRole, VARIANT_BOOL bClassesOnly, VARIANT_BOOL bSchemaOnly, BSTR strRequiredQualifier, LONG iFlags, IDispatch *objWbemNamedValueSet, IDispatch *objWbemAsyncContext)
static const ISWbemPropertyVtbl property_vtbl
static HRESULT WINAPI security_GetIDsOfNames(ISWbemSecurity *iface, REFIID riid, LPOLESTR *names, UINT count, LCID lcid, DISPID *dispid)
static HRESULT WINAPI propertyset_Invoke(ISWbemPropertySet *iface, DISPID member, REFIID riid, LCID lcid, WORD flags, DISPPARAMS *params, VARIANT *result, EXCEPINFO *excep_info, UINT *arg_err)
static HRESULT WINAPI object_Put_(ISWbemObject *iface, LONG iFlags, IDispatch *objWbemNamedValueSet, ISWbemObjectPath **objWbemObjectPath)
static HRESULT WINAPI services_AssociatorsOf(ISWbemServices *iface, BSTR strObjectPath, BSTR strAssocClass, BSTR strResultClass, BSTR strResultRole, BSTR strRole, VARIANT_BOOL bClassesOnly, VARIANT_BOOL bSchemaOnly, BSTR strRequiredAssocQualifier, BSTR strRequiredQualifier, LONG iFlags, IDispatch *objWbemNamedValueSet, ISWbemObjectSet **objWbemObjectSet)
static HRESULT WINAPI object_Clone_(ISWbemObject *iface, ISWbemObject **objWbemObject)
static HRESULT WINAPI propertyset_Item(ISWbemPropertySet *iface, BSTR name, LONG flags, ISWbemProperty **prop)
static HRESULT WINAPI objectset_GetTypeInfoCount(ISWbemObjectSet *iface, UINT *count)
static HRESULT WINAPI services_ExecQueryAsync(ISWbemServices *iface, IDispatch *objWbemSink, BSTR strQuery, BSTR strQueryLanguage, LONG lFlags, IDispatch *objWbemNamedValueSet, IDispatch *objWbemAsyncContext)
static const ISWbemObjectSetVtbl objectset_vtbl
static HRESULT WINAPI object_GetIDsOfNames(ISWbemObject *iface, REFIID riid, LPOLESTR *names, UINT count, LCID lcid, DISPID *dispid)
static HRESULT WINAPI services_ReferencesTo(ISWbemServices *iface, BSTR strObjectPath, BSTR strResultClass, BSTR strRole, VARIANT_BOOL bClassesOnly, VARIANT_BOOL bSchemaOnly, BSTR strRequiredQualifier, LONG iFlags, IDispatch *objWbemNamedValueSet, ISWbemObjectSet **objWbemObjectSet)
static ULONG WINAPI locator_Release(ISWbemLocator *iface)
static HRESULT WINAPI objectset_QueryInterface(ISWbemObjectSet *iface, REFIID riid, void **ppvObject)
static ULONG WINAPI propertyset_Release(ISWbemPropertySet *iface)
static ITypeInfo * wbemdisp_typeinfo[last_tid]
static LONG get_object_count(IEnumWbemClassObject *iter)
static struct propertyset * impl_from_ISWbemPropertySet(ISWbemPropertySet *iface)
static HRESULT WINAPI security_get_Privileges(ISWbemSecurity *iface, ISWbemPrivilegeSet **privilege_set)
static HRESULT WINAPI object_CompareTo_(ISWbemObject *iface, IDispatch *objWbemObject, LONG iFlags, VARIANT_BOOL *bResult)
static HRESULT EnumVARIANT_create(IEnumWbemClassObject *, IEnumVARIANT **)
static HRESULT WINAPI services_SubclassesOfAsync(ISWbemServices *iface, IDispatch *objWbemSink, BSTR strSuperclass, LONG iFlags, IDispatch *objWbemNamedValueSet, IDispatch *objWbemAsyncContext)
#define DISPID_BASE_METHOD
static HRESULT init_members(struct object *object)
static ULONG WINAPI enumvar_AddRef(IEnumVARIANT *iface)
static HRESULT WINAPI object_ExecMethod_(ISWbemObject *iface, BSTR strMethodName, IDispatch *objWbemInParameters, LONG iFlags, IDispatch *objWbemNamedValueSet, ISWbemObject **objWbemOutParameters)
static ULONG WINAPI objectset_AddRef(ISWbemObjectSet *iface)
static HRESULT WINAPI objectset_GetIDsOfNames(ISWbemObjectSet *iface, REFIID riid, LPOLESTR *names, UINT count, LCID lcid, DISPID *dispid)
static ULONG WINAPI locator_AddRef(ISWbemLocator *iface)
static HRESULT WINAPI security_GetTypeInfo(ISWbemSecurity *iface, UINT index, LCID lcid, ITypeInfo **info)
static HRESULT WINAPI services_GetIDsOfNames(ISWbemServices *iface, REFIID riid, LPOLESTR *names, UINT count, LCID lcid, DISPID *dispid)
static HRESULT WINAPI object_get_Properties_(ISWbemObject *iface, ISWbemPropertySet **prop_set)
static HRESULT WINAPI object_Delete_(ISWbemObject *iface, LONG iFlags, IDispatch *objWbemNamedValueSet)
static HRESULT WINAPI locator_ConnectServer(ISWbemLocator *iface, BSTR strServer, BSTR strNamespace, BSTR strUser, BSTR strPassword, BSTR strLocale, BSTR strAuthority, LONG iSecurityFlags, IDispatch *objWbemNamedValueSet, ISWbemServices **objWbemServices)
static HRESULT WINAPI object_Instances_(ISWbemObject *iface, LONG iFlags, IDispatch *objWbemNamedValueSet, ISWbemObjectSet **objWbemObjectSet)
static HRESULT WINAPI propertyset_GetTypeInfoCount(ISWbemPropertySet *iface, UINT *count)
static HRESULT WINAPI objectset_get_Security_(ISWbemObjectSet *iface, ISWbemSecurity **objWbemSecurity)
static HRESULT WINAPI enumvar_Skip(IEnumVARIANT *iface, ULONG celt)
static HRESULT WINAPI services_GetAsync(ISWbemServices *iface, IDispatch *objWbemSink, BSTR strObjectPath, LONG iFlags, IDispatch *objWbemNamedValueSet, IDispatch *objWbemAsyncContext)
static HRESULT WINAPI object_ReferencesAsync_(ISWbemObject *iface, IDispatch *objWbemSink, BSTR strResultClass, BSTR strRole, VARIANT_BOOL bClassesOnly, VARIANT_BOOL bSchemaOnly, BSTR strRequiredQualifier, LONG iFlags, IDispatch *objWbemNamedValueSet, IDispatch *objWbemAsyncContext)
static HRESULT WINAPI property_get_Origin(ISWbemProperty *iface, BSTR *strOrigin)
static HRESULT WINAPI locator_GetIDsOfNames(ISWbemLocator *iface, REFIID riid, LPOLESTR *names, UINT count, LCID lcid, DISPID *dispid)
static HRESULT WINAPI services_QueryInterface(ISWbemServices *iface, REFIID riid, void **ppvObject)
static HRESULT WINAPI property_put_Value(ISWbemProperty *iface, VARIANT *varValue)
static struct security * impl_from_ISWbemSecurity(ISWbemSecurity *iface)
static HRESULT WINAPI objectset_get_Count(ISWbemObjectSet *iface, LONG *iCount)
static HRESULT WINAPI propertyset_Remove(ISWbemPropertySet *iface, BSTR name, LONG flags)
static BSTR build_resource_string(BSTR server, BSTR namespace)
static HRESULT WINAPI object_GetObjectText_(ISWbemObject *iface, LONG iFlags, BSTR *strObjectText)
static HRESULT WINAPI services_Invoke(ISWbemServices *iface, DISPID member, REFIID riid, LCID lcid, WORD flags, DISPPARAMS *params, VARIANT *result, EXCEPINFO *excep_info, UINT *arg_err)
static struct object * impl_from_ISWbemObject(ISWbemObject *iface)
static struct enumvar * impl_from_IEnumVARIANT(IEnumVARIANT *iface)
static const ISWbemObjectVtbl object_vtbl
static HRESULT WINAPI services_GetTypeInfo(ISWbemServices *iface, UINT index, LCID lcid, ITypeInfo **info)
static HRESULT WINAPI object_DeleteAsync_(ISWbemObject *iface, IDispatch *objWbemSink, LONG iFlags, IDispatch *objWbemNamedValueSet, IDispatch *objWbemAsyncContext)
static ULONG WINAPI enumvar_Release(IEnumVARIANT *iface)
static HRESULT WINAPI object_QueryInterface(ISWbemObject *iface, REFIID riid, void **ppvObject)
static HRESULT WINAPI property_get_CIMType(ISWbemProperty *iface, WbemCimtypeEnum *iCimType)
static HRESULT WINAPI object_SpawnDerivedClass_(ISWbemObject *iface, LONG iFlags, ISWbemObject **objWbemObject)
static ULONG WINAPI services_AddRef(ISWbemServices *iface)
static ULONG WINAPI property_AddRef(ISWbemProperty *iface)
static HRESULT WINAPI security_QueryInterface(ISWbemSecurity *iface, REFIID riid, void **ppvObject)
static HRESULT SWbemServices_create(IWbemServices *wbem_services, ISWbemServices **obj)
static HRESULT WINAPI enumvar_QueryInterface(IEnumVARIANT *iface, REFIID riid, void **ppvObject)
LPWSTR WINAPI lstrcatW(LPWSTR lpString1, LPCWSTR lpString2)
static VARIANTARG static DISPID
static const WCHAR wqlW[]
#define LOCALE_SYSTEM_DEFAULT
BSTR WINAPI SysAllocString(LPCOLESTR str)
UINT WINAPI SysStringLen(BSTR str)
void WINAPI DECLSPEC_HOTPATCH SysFreeString(BSTR str)
BSTR WINAPI SysAllocStringLen(const OLECHAR *str, unsigned int len)
#define DISPATCH_PROPERTYGET
#define IsEqualGUID(rguid1, rguid2)
IEnumVARIANT IEnumVARIANT_iface
IEnumWbemClassObject * objectenum
ISWbemLocator ISWbemLocator_iface
DISPID last_dispid_method
IWbemClassObject * object
ISWbemObject ISWbemObject_iface
ISWbemObjectSet ISWbemObjectSet_iface
IEnumWbemClassObject * objectenum
ISWbemProperty ISWbemProperty_iface
IWbemClassObject * object
IWbemClassObject * object
ISWbemPropertySet ISWbemPropertySet_iface
WbemAuthenticationLevelEnum authlevel
ISWbemSecurity ISWbemSecurity_iface
WbemImpersonationLevelEnum implevel
ISWbemServices ISWbemServices_iface
#define CONTAINING_RECORD(address, type, field)
HRESULT WINAPI DECLSPEC_HOTPATCH VariantClear(VARIANTARG *pVarg)
static const WCHAR defaultW[]
static rfbScreenInfoPtr server
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject
#define DISP_E_MEMBERNOTFOUND
#define DISP_E_UNKNOWNNAME