64 TRACE(
"destroying %p\n", ec);
95 IEnumWbemClassObject_AddRef( iface );
104 TRACE(
"%p\n", iface);
123 TRACE(
"%p, %d, %u, %p, %p\n", iface, lTimeout, uCount, apObjects, puReturned);
148 FIXME(
"%p, %u, %p\n", iface, uCount, pSink);
158 TRACE(
"%p, %p\n", iface, ppEnum);
172 TRACE(
"%p, %d, %u\n", iface, lTimeout, nCount);
203 TRACE(
"%p\n", ppObj);
215 TRACE(
"returning iface %p\n", *ppObj);
302 TRACE(
"destroying %p\n", co);
303 if (co->
iter) IEnumWbemClassObject_Release( co->
iter );
335 IWbemClassObject_AddRef( iface );
345 TRACE(
"%p, %p\n", iface, ppQualSet);
394 TRACE(
"%p, %s, %08x, %p, %p, %p\n", iface,
debugstr_w(wszName), lFlags, pVal, pType, plFlavor);
482 TRACE(
"%p, %s, %08x, %s, %p\n", iface,
debugstr_w(wszQualifierName), lFlags,
489 FIXME(
"flags %08x not supported\n", lFlags);
492 if (wszQualifierName || pQualifierVal)
493 FIXME(
"qualifier not supported\n");
504 TRACE(
"%p, %08x\n", iface, lEnumFlags);
506 if (lEnumFlags)
FIXME(
"flags 0x%08x not supported\n", lEnumFlags);
528 TRACE(
"%p, %08x, %p, %p, %p, %p\n", iface, lFlags, strName, pVal, pType, plFlavor);
541 obj->index_property =
i + 1;
542 if (strName) *strName = prop;
555 TRACE(
"%p\n", iface);
577 FIXME(
"%p, %p\n", iface, ppCopy);
583 static const WCHAR fmtW[] = {
'\n',
'\t',
'%',
's',
' ',
'=',
' ',
'%',
's',
';',0};
614 static const WCHAR fmtW[] =
615 {
'\n',
'i',
'n',
's',
't',
'a',
'n',
'c',
'e',
' ',
'o',
'f',
' ',
'%',
's',
'\n',
'{',
'%',
's',
'\n',
'}',
';',0};
634 BSTR *pstrObjectText )
641 TRACE(
"%p, %08x, %p\n", iface, lFlags, pstrObjectText);
643 if (lFlags)
FIXME(
"flags %08x not implemented\n", lFlags);
646 *pstrObjectText =
text;
655 FIXME(
"%p, %08x, %p\n", iface, lFlags, ppNewClass);
669 TRACE(
"%p, %08x, %p\n", iface, lFlags, ppNewInstance);
681 FIXME(
"%p, %08x, %p\n", iface, lFlags, pCompareTo);
688 BSTR *pstrClassName )
706 IEnumWbemClassObject_Reset( iter );
735 static const WCHAR parameterW[] = {
'P',
'a',
'r',
'a',
'm',
'e',
't',
'e',
'r',0};
736 static const WCHAR typeW[] = {
'T',
'y',
'p',
'e',0};
737 static const WCHAR defaultvalueW[] = {
'D',
'e',
'f',
'a',
'u',
'l',
't',
'V',
'a',
'l',
'u',
'e',0};
770 IWbemClassObject_Release(
param );
808 static const WCHAR fmtW[] = {
'_',
'_',
'%',
's',
'_',
'%',
's',
'_',
'%',
's',0};
809 static const WCHAR outW[] = {
'O',
'U',
'T',0};
810 static const WCHAR inW[] = {
'I',
'N',0};
823 {
'S',
'E',
'L',
'E',
'C',
'T',
' ',
'*',
' ',
'F',
'R',
'O',
'M',
' ',
824 '_',
'_',
'P',
'A',
'R',
'A',
'M',
'E',
'T',
'E',
'R',
'S',
' ',
'W',
'H',
'E',
'R',
'E',
' ',
825 'C',
'l',
'a',
's',
's',
'=',
'\'',
'%',
's',
'\'',
' ',
'A',
'N',
'D',
' ',
826 'M',
'e',
't',
'h',
'o',
'd',
'=',
'\'',
'%',
's',
'\'',
' ',
'A',
'N',
'D',
' ',
827 'D',
'i',
'r',
'e',
'c',
't',
'i',
'o',
'n',
'%',
's',0};
828 static const WCHAR geW[] = {
'>',
'=',
'0',0};
829 static const WCHAR leW[] = {
'<',
'=',
'0',0};
846 IEnumWbemClassObject_Release( iter );
852 IEnumWbemClassObject_Release( iter );
856 IEnumWbemClassObject_Release( iter );
875 TRACE(
"%p, %s, %08x, %p, %p\n", iface,
debugstr_w(wszName), lFlags, ppInSignature, ppOutSignature);
883 if (ppInSignature) *ppInSignature =
in;
884 else if (
in) IWbemClassObject_Release(
in );
885 if (ppOutSignature) *ppOutSignature =
out;
886 else if (
out) IWbemClassObject_Release(
out );
888 else IWbemClassObject_Release(
in );
899 FIXME(
"%p, %s, %08x, %p, %p\n", iface,
debugstr_w(wszName), lFlags, pInSignature, pOutSignature);
917 TRACE(
"%p, %08x\n", iface, lEnumFlags);
919 if (lEnumFlags)
FIXME(
"flags 0x%08x not supported\n", lEnumFlags);
936 TRACE(
"%p, %08x, %p, %p, %p\n", iface, lFlags, pstrName, ppInSignature, ppOutSignature);
951 IWbemClassObject_Release( *ppInSignature );
966 TRACE(
"%p\n", iface);
986 FIXME(
"%p, %s, %p\n", iface,
debugstr_w(wszMethodName), pstrClassName);
1044 if (
iter) IEnumWbemClassObject_AddRef(
iter );
1048 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)
static WCHAR * heap_strdupW(const WCHAR *str)
static void free_table(MSITABLE *table)
unsigned int get_type_size(ULONG *pFlags, VARTYPE vt)
static const WCHAR typeW[]
static UINT count_instances(IEnumWbemClassObject *iter)
static const IEnumWbemClassObjectVtbl enum_class_object_vtbl
static const IWbemClassObjectVtbl class_object_vtbl
static HRESULT WINAPI class_object_Clone(IWbemClassObject *iface, IWbemClassObject **ppCopy)
static HRESULT WINAPI class_object_InheritsFrom(IWbemClassObject *iface, LPCWSTR strAncestor)
static HRESULT WINAPI class_object_Get(IWbemClassObject *iface, LPCWSTR wszName, LONG lFlags, VARIANT *pVal, CIMTYPE *pType, LONG *plFlavor)
void destroy_array(struct array *array, CIMTYPE type)
static struct class_object * impl_from_IWbemClassObject(IWbemClassObject *iface)
static HRESULT WINAPI class_object_Put(IWbemClassObject *iface, LPCWSTR wszName, LONG lFlags, VARIANT *pVal, CIMTYPE Type)
static void set_default_value(CIMTYPE type, UINT val, BYTE *ptr)
static BSTR get_body_text(const struct table *table, UINT row, UINT *len)
static HRESULT WINAPI class_object_DeleteMethod(IWbemClassObject *iface, LPCWSTR wszName)
HRESULT create_signature(const WCHAR *class, const WCHAR *method, enum param_direction dir, IWbemClassObject **sig)
static HRESULT WINAPI enum_class_object_QueryInterface(IEnumWbemClassObject *iface, REFIID riid, void **ppvObject)
static HRESULT record_set_value(struct record *record, UINT index, VARIANT *var)
static ULONG WINAPI class_object_AddRef(IWbemClassObject *iface)
static HRESULT WINAPI class_object_PutMethod(IWbemClassObject *iface, LPCWSTR wszName, LONG lFlags, IWbemClassObject *pInSignature, IWbemClassObject *pOutSignature)
static BSTR get_object_text(const struct view *view, UINT index)
static HRESULT WINAPI class_object_SpawnDerivedClass(IWbemClassObject *iface, LONG lFlags, IWbemClassObject **ppNewClass)
static HRESULT WINAPI class_object_GetPropertyQualifierSet(IWbemClassObject *iface, LPCWSTR wszProperty, IWbemQualifierSet **ppQualSet)
static HRESULT WINAPI class_object_GetNames(IWbemClassObject *iface, LPCWSTR wszQualifierName, LONG lFlags, VARIANT *pQualifierVal, SAFEARRAY **pNames)
static HRESULT WINAPI class_object_BeginMethodEnumeration(IWbemClassObject *iface, LONG lEnumFlags)
static HRESULT WINAPI class_object_GetMethod(IWbemClassObject *iface, LPCWSTR wszName, LONG lFlags, IWbemClassObject **ppInSignature, IWbemClassObject **ppOutSignature)
static HRESULT WINAPI enum_class_object_Next(IEnumWbemClassObject *iface, LONG lTimeout, ULONG uCount, IWbemClassObject **apObjects, ULONG *puReturned)
HRESULT create_class_object(const WCHAR *name, IEnumWbemClassObject *iter, UINT index, struct record *record, IWbemClassObject **obj)
static HRESULT WINAPI class_object_GetQualifierSet(IWbemClassObject *iface, IWbemQualifierSet **ppQualSet)
static ULONG WINAPI enum_class_object_Release(IEnumWbemClassObject *iface)
static HRESULT WINAPI class_object_Next(IWbemClassObject *iface, LONG lFlags, BSTR *strName, VARIANT *pVal, CIMTYPE *pType, LONG *plFlavor)
static HRESULT create_signature_table(IEnumWbemClassObject *iter, WCHAR *name)
static HRESULT record_get_value(const struct record *record, UINT index, VARIANT *var, CIMTYPE *type)
static HRESULT WINAPI class_object_CompareTo(IWbemClassObject *iface, LONG lFlags, IWbemClassObject *pCompareTo)
static struct record * create_record(struct table *table)
static HRESULT create_signature_columns_and_data(IEnumWbemClassObject *iter, UINT *num_cols, struct column **cols, BYTE **data)
static HRESULT WINAPI enum_class_object_NextAsync(IEnumWbemClassObject *iface, ULONG uCount, IWbemObjectSink *pSink)
static HRESULT WINAPI class_object_GetMethodOrigin(IWbemClassObject *iface, LPCWSTR wszMethodName, BSTR *pstrClassName)
static HRESULT WINAPI class_object_BeginEnumeration(IWbemClassObject *iface, LONG lEnumFlags)
static struct enum_class_object * impl_from_IEnumWbemClassObject(IEnumWbemClassObject *iface)
static HRESULT WINAPI class_object_GetObjectText(IWbemClassObject *iface, LONG lFlags, BSTR *pstrObjectText)
static HRESULT WINAPI class_object_SpawnInstance(IWbemClassObject *iface, LONG lFlags, IWbemClassObject **ppNewInstance)
static HRESULT WINAPI class_object_EndEnumeration(IWbemClassObject *iface)
static WCHAR * build_signature_table_name(const WCHAR *class, const WCHAR *method, enum param_direction dir)
HRESULT EnumWbemClassObject_create(struct query *query, LPVOID *ppObj)
static HRESULT WINAPI class_object_EndMethodEnumeration(IWbemClassObject *iface)
static ULONG WINAPI enum_class_object_AddRef(IEnumWbemClassObject *iface)
static HRESULT WINAPI enum_class_object_Reset(IEnumWbemClassObject *iface)
static HRESULT WINAPI class_object_QueryInterface(IWbemClassObject *iface, REFIID riid, void **ppvObject)
static HRESULT WINAPI class_object_GetMethodQualifierSet(IWbemClassObject *iface, LPCWSTR wszMethod, IWbemQualifierSet **ppQualSet)
static HRESULT WINAPI class_object_NextMethod(IWbemClassObject *iface, LONG lFlags, BSTR *pstrName, IWbemClassObject **ppInSignature, IWbemClassObject **ppOutSignature)
static ULONG WINAPI class_object_Release(IWbemClassObject *iface)
static HRESULT WINAPI enum_class_object_Clone(IEnumWbemClassObject *iface, IEnumWbemClassObject **ppEnum)
static HRESULT WINAPI class_object_Delete(IWbemClassObject *iface, LPCWSTR wszName)
static void destroy_record(struct record *record)
static HRESULT WINAPI class_object_GetPropertyOrigin(IWbemClassObject *iface, LPCWSTR wszName, BSTR *pstrClassName)
static HRESULT WINAPI enum_class_object_Skip(IEnumWbemClassObject *iface, LONG lTimeout, ULONG nCount)
VARTYPE to_vartype(CIMTYPE type)
struct table * get_view_table(const struct view *view, UINT index)
BOOL is_method(const struct table *table, UINT column)
void release_query(struct query *query)
HRESULT put_propval(const struct view *view, UINT index, const WCHAR *name, VARIANT *var, CIMTYPE type)
BOOL is_result_prop(const struct view *view, const WCHAR *name)
HRESULT get_properties(const struct view *view, UINT index, LONG flags, SAFEARRAY **props)
struct query * addref_query(struct query *query)
HRESULT to_longlong(VARIANT *var, LONGLONG *val, CIMTYPE *type)
SAFEARRAY * to_safearray(const struct array *array, CIMTYPE basetype)
HRESULT exec_query(const WCHAR *str, IEnumWbemClassObject **result)
HRESULT get_propval(const struct view *view, UINT index, const WCHAR *name, VARIANT *ret, CIMTYPE *type, LONG *flavor)
struct table * create_table(const WCHAR *name, UINT num_cols, const struct column *columns, UINT num_rows, UINT num_allocated, BYTE *data, enum fill_status(*fill)(struct table *, const struct expr *cond))
struct table * addref_table(struct table *table)
BOOL add_table(struct table *table)
BSTR get_method_name(const WCHAR *class, UINT index)
HRESULT get_column_index(const struct table *table, const WCHAR *name, UINT *column)
void release_table(struct table *table)
BSTR get_value_bstr(const struct table *table, UINT row, UINT column)
void free_columns(struct column *columns, UINT num_cols)
struct png_info_def *typedef unsigned char **typedef struct png_info_def *typedef struct png_info_def *typedef struct png_info_def *typedef unsigned char ** row
GLuint GLuint GLsizei GLenum type
GLuint GLuint GLsizei count
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLuint GLenum GLenum GLenum GLenum outW
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[]
int JSAMPARRAY int int JDIMENSION num_cols
static IDispatch * get_object(jsval_t v)
static const char * debugstr_variant(const VARIANT *var)
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 IsEqualGUID(rguid1, rguid2)
HRESULT WbemQualifierSet_create(const WCHAR *class, const WCHAR *member, LPVOID *ppObj)
_CRTIMP wchar_t *__cdecl _wcsupr(_Inout_z_ wchar_t *_String)
static const void * body(MD5_CTX *ctx, const void *data, unsigned long size)
IEnumWbemClassObject * iter
IWbemClassObject IWbemClassObject_iface
IEnumWbemClassObject IEnumWbemClassObject_iface
const struct column * columns
#define CONTAINING_RECORD(address, type, field)
HRESULT WINAPI DECLSPEC_HOTPATCH VariantClear(VARIANTARG *pVarg)
@ WBEM_FLAG_NONSYSTEM_ONLY
@ WBEM_E_INVALID_PARAMETER
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject