101 VARIANT defkey, subkey, retval;
120 hr = IWbemClassObject_SpawnInstance( sig, 0, &
out_params );
124 IWbemClassObject_Release( sig );
133 IWbemClassObject_Release( sig );
219 hr = IWbemClassObject_SpawnInstance( sig, 0, &
out_params );
223 IWbemClassObject_Release( sig );
229 if (
hr !=
S_OK)
goto done;
232 if (!
V_UI4( &retval ))
235 if (
hr !=
S_OK)
goto done;
243 IWbemClassObject_Release( sig );
265 if ((
res =
RegQueryInfoKeyW( hkey,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL, &
count, &buflen,
NULL,
NULL,
NULL )))
329 hr = IWbemClassObject_SpawnInstance( sig, 0, &
out_params );
333 IWbemClassObject_Release( sig );
340 if (
hr !=
S_OK)
goto done;
343 if (!
V_UI4( &retval ))
346 if (
hr !=
S_OK)
goto done;
348 if (
hr !=
S_OK)
goto done;
357 IWbemClassObject_Release( sig );
415 hr = IWbemClassObject_SpawnInstance( sig, 0, &
out_params );
420 IWbemClassObject_Release( sig );
426 if (
hr !=
S_OK)
goto done;
429 if (!
V_UI4( &retval ))
432 if (
hr !=
S_OK)
goto done;
440 IWbemClassObject_Release( sig );
static struct sockaddr_in sa
static void * heap_alloc(size_t len)
static BOOL heap_free(void *mem)
static void * heap_realloc(void *mem, size_t len)
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
#define RegCloseKey(hKey)
LONG WINAPI RegCreateKeyExW(_In_ HKEY hKey, _In_ LPCWSTR lpSubKey, _In_ DWORD Reserved, _In_opt_ LPWSTR lpClass, _In_ DWORD dwOptions, _In_ REGSAM samDesired, _In_opt_ LPSECURITY_ATTRIBUTES lpSecurityAttributes, _Out_ PHKEY phkResult, _Out_opt_ LPDWORD lpdwDisposition)
LONG WINAPI RegOpenKeyExW(HKEY hKey, LPCWSTR lpSubKey, DWORD ulOptions, REGSAM samDesired, PHKEY phkResult)
LSTATUS WINAPI RegGetValueW(HKEY hKey, LPCWSTR pszSubKey, LPCWSTR pszValue, DWORD dwFlags, LPDWORD pdwType, PVOID pvData, LPDWORD pcbData)
LONG WINAPI RegEnumValueW(_In_ HKEY hKey, _In_ DWORD index, _Out_ LPWSTR value, _Inout_ PDWORD val_count, _Reserved_ PDWORD reserved, _Out_opt_ PDWORD type, _Out_opt_ LPBYTE data, _Inout_opt_ PDWORD count)
LONG WINAPI RegQueryInfoKeyW(HKEY hKey, LPWSTR lpClass, LPDWORD lpcClass, LPDWORD lpReserved, LPDWORD lpcSubKeys, LPDWORD lpcMaxSubKeyLen, LPDWORD lpcMaxClassLen, LPDWORD lpcValues, LPDWORD lpcMaxValueNameLen, LPDWORD lpcMaxValueLen, LPDWORD lpcbSecurityDescriptor, PFILETIME lpftLastWriteTime)
LONG WINAPI RegEnumKeyW(HKEY hKey, DWORD dwIndex, LPWSTR lpName, DWORD cbName)
#define ERROR_NO_MORE_ITEMS
SAFEARRAY *WINAPI SafeArrayCreateVector(VARTYPE vt, LONG lLbound, ULONG cElements)
HRESULT WINAPI SafeArrayDestroy(SAFEARRAY *psa)
HRESULT WINAPI SafeArrayPutElement(SAFEARRAY *psa, LONG *rgIndices, void *pvData)
HRESULT create_signature(const WCHAR *class, const WCHAR *method, enum param_direction dir, IWbemClassObject **sig)
void set_variant(VARTYPE type, LONGLONG val, void *val_ptr, VARIANT *ret)
static HRESULT get_stringvalue(HKEY root, const WCHAR *subkey, const WCHAR *name, VARIANT *value, VARIANT *retval)
static HRESULT to_i4_array(DWORD *values, DWORD count, VARIANT *var)
static HRESULT to_bstr_array(BSTR *strings, DWORD count, VARIANT *var)
HRESULT reg_create_key(IWbemClassObject *obj, IWbemClassObject *in, IWbemClassObject **out)
HRESULT reg_get_stringvalue(IWbemClassObject *obj, IWbemClassObject *in, IWbemClassObject **out)
HRESULT reg_enum_key(IWbemClassObject *obj, IWbemClassObject *in, IWbemClassObject **out)
static void free_bstr_array(BSTR *strings, DWORD count)
HRESULT reg_enum_values(IWbemClassObject *obj, IWbemClassObject *in, IWbemClassObject **out)
static HRESULT enum_key(HKEY root, const WCHAR *subkey, VARIANT *names, VARIANT *retval)
static HRESULT enum_values(HKEY root, const WCHAR *subkey, VARIANT *names, VARIANT *types, VARIANT *retval)
static HRESULT create_key(HKEY root, const WCHAR *subkey, VARIANT *retval)
GLuint GLuint GLsizei count
GLsizei const GLchar *const * strings
GLenum GLuint GLenum GLsizei const GLchar * buf
GLboolean GLenum GLenum GLvoid * values
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 void out_params(void)
#define KEY_ENUMERATE_SUB_KEYS
BSTR WINAPI SysAllocString(LPCOLESTR str)
void WINAPI DECLSPEC_HOTPATCH SysFreeString(BSTR str)
BSTR WINAPI SysAllocStringLen(const OLECHAR *str, unsigned int len)
HRESULT WINAPI DECLSPEC_HOTPATCH VariantClear(VARIANTARG *pVarg)
void WINAPI VariantInit(VARIANTARG *pVarg)
static const WCHAR method_enumvaluesW[]
static const WCHAR param_valuenameW[]
static const WCHAR method_enumkeyW[]
static const WCHAR param_namesW[]
static const WCHAR class_stdregprovW[]
static const WCHAR param_typesW[]
static const WCHAR method_createkeyW[]
static const WCHAR param_valueW[]
static const WCHAR method_getstringvalueW[]
static const WCHAR param_returnvalueW[]
static const WCHAR param_defkeyW[]
static const WCHAR param_subkeynameW[]
#define HRESULT_FROM_WIN32(x)