91 IWbemQualifierSet_AddRef( iface );
98 static const WCHAR fmtW[] =
99 {
'S',
'E',
'L',
'E',
'C',
'T',
' ',
'*',
' ',
'F',
'R',
'O',
'M',
' ',
'_',
'_',
'Q',
'U',
'A',
'L',
100 'I',
'F',
'I',
'E',
'R',
'S',
' ',
'W',
'H',
'E',
'R',
'E',
' ',
'C',
'l',
'a',
's',
's',
'=',
101 '\'',
'%',
's',
'\'',
' ',
'A',
'N',
'D',
' ',
'M',
'e',
'm',
'b',
'e',
'r',
'=',
'\'',
'%',
's',
'\'',
' ',
102 'A',
'N',
'D',
' ',
'N',
'a',
'm',
'e',
'=',
'\'',
'%',
's',
'\'',0};
103 static const WCHAR fmt2W[] =
104 {
'S',
'E',
'L',
'E',
'C',
'T',
' ',
'*',
' ',
'F',
'R',
'O',
'M',
' ',
'_',
'_',
'Q',
'U',
'A',
'L',
105 'I',
'F',
'I',
'E',
'R',
'S',
' ',
'W',
'H',
'E',
'R',
'E',
' ',
'C',
'l',
'a',
's',
's',
'=',
106 '\'',
'%',
's',
'\'',
' ',
'A',
'N',
'D',
' ',
'M',
'e',
'm',
'b',
'e',
'r',
'=',
'\'',
'%',
's',
'\'',0};
107 static const WCHAR fmt3W[] =
108 {
'S',
'E',
'L',
'E',
'C',
'T',
' ',
'*',
' ',
'F',
'R',
'O',
'M',
' ',
'_',
'_',
'Q',
'U',
'A',
'L',
109 'I',
'F',
'I',
'E',
'R',
'S',
' ',
'W',
'H',
'E',
'R',
'E',
' ',
'C',
'l',
'a',
's',
's',
'=',
110 '\'',
'%',
's',
'\'',0};
142 static const WCHAR intvalueW[] = {
'I',
'n',
't',
'e',
'g',
'e',
'r',
'V',
'a',
'l',
'u',
'e',0};
143 static const WCHAR strvalueW[] = {
'S',
't',
'r',
'i',
'n',
'g',
'V',
'a',
'l',
'u',
'e',0};
144 static const WCHAR boolvalueW[] = {
'B',
'o',
'o',
'l',
'V',
'a',
'l',
'u',
'e',0};
145 static const WCHAR flavorW[] = {
'F',
'l',
'a',
'v',
'o',
'r',0};
146 static const WCHAR typeW[] = {
'T',
'y',
'p',
'e',0};
156 IEnumWbemClassObject_Release( iter );
162 if (
hr !=
S_OK)
goto done;
166 if (
hr !=
S_OK)
goto done;
184 IWbemClassObject_Release(
obj );
197 TRACE(
"%p, %s, %08x, %p, %p\n", iface,
debugstr_w(wszName), lFlags, pVal, plFlavor);
200 FIXME(
"flags %08x not supported\n", lFlags);
234 TRACE(
"%p, %08x, %p\n", iface, lFlags, pNames);
237 FIXME(
"flags %08x not supported\n", lFlags);
245 IEnumWbemClassObject_Release( iter );
248 hr = IWbemClassObject_GetNames(
obj,
NULL, 0,
NULL, pNames );
249 IWbemClassObject_Release(
obj );
257 FIXME(
"%p, %08x\n", iface, lFlags);
268 FIXME(
"%p, %08x, %p, %p, %p\n", iface, lFlags, pstrName, pVal, plFlavor);
275 FIXME(
"%p\n", iface);
297 TRACE(
"%p\n", ppObj);
316 *ppObj = &
set->IWbemQualifierSet_iface;
318 TRACE(
"returning iface %p\n", *ppObj);
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 const WCHAR typeW[]
HRESULT create_class_object(const WCHAR *name, IEnumWbemClassObject *iter, UINT index, struct record *record, IWbemClassObject **obj)
HRESULT exec_query(const WCHAR *str, IEnumWbemClassObject **result)
#define IsEqualGUID(rguid1, rguid2)
static HRESULT WINAPI qualifier_set_Delete(IWbemQualifierSet *iface, LPCWSTR wszName)
static HRESULT WINAPI qualifier_set_QueryInterface(IWbemQualifierSet *iface, REFIID riid, void **ppvObject)
static HRESULT WINAPI qualifier_set_BeginEnumeration(IWbemQualifierSet *iface, LONG lFlags)
static ULONG WINAPI qualifier_set_AddRef(IWbemQualifierSet *iface)
static HRESULT get_qualifier_value(const WCHAR *class, const WCHAR *member, const WCHAR *name, VARIANT *val, LONG *flavor)
static HRESULT WINAPI qualifier_set_GetNames(IWbemQualifierSet *iface, LONG lFlags, SAFEARRAY **pNames)
static HRESULT create_qualifier_enum(const WCHAR *class, const WCHAR *member, const WCHAR *name, IEnumWbemClassObject **iter)
static struct qualifier_set * impl_from_IWbemQualifierSet(IWbemQualifierSet *iface)
static ULONG WINAPI qualifier_set_Release(IWbemQualifierSet *iface)
static HRESULT WINAPI qualifier_set_Get(IWbemQualifierSet *iface, LPCWSTR wszName, LONG lFlags, VARIANT *pVal, LONG *plFlavor)
static HRESULT WINAPI qualifier_set_Next(IWbemQualifierSet *iface, LONG lFlags, BSTR *pstrName, VARIANT *pVal, LONG *plFlavor)
static const IWbemQualifierSetVtbl qualifier_set_vtbl
static HRESULT WINAPI qualifier_set_EndEnumeration(IWbemQualifierSet *iface)
static HRESULT WINAPI qualifier_set_Put(IWbemQualifierSet *iface, LPCWSTR wszName, VARIANT *pVal, LONG lFlavor)
HRESULT WbemQualifierSet_create(const WCHAR *class, const WCHAR *member, LPVOID *ppObj)
IWbemQualifierSet IWbemQualifierSet_iface
#define CONTAINING_RECORD(address, type, field)
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject