78 hr = IWbemClassObject_SpawnInstance( sig, 0, &
out_params );
81 IWbemClassObject_Release( sig );
91 if (!
V_UI4( &retval ))
104 IWbemClassObject_Release( sig );
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
void user(int argc, const char *argv[])
BOOL WINAPI GetComputerNameW(LPWSTR lpBuffer, LPDWORD lpnSize)
#define ERROR_INSUFFICIENT_BUFFER
BOOL WINAPI GetUserNameW(LPWSTR lpszName, LPDWORD lpSize)
HRESULT create_signature(const WCHAR *class, const WCHAR *method, enum param_direction dir, IWbemClassObject **sig)
static HRESULT get_owner(VARIANT *user, VARIANT *domain, VARIANT *retval)
HRESULT process_get_owner(IWbemClassObject *obj, IWbemClassObject *in, IWbemClassObject **out)
void set_variant(VARTYPE type, LONGLONG val, void *val_ptr, VARIANT *ret)
static void out_params(void)
BSTR WINAPI SysAllocStringLen(const OLECHAR *str, unsigned int len)
HRESULT WINAPI DECLSPEC_HOTPATCH VariantClear(VARIANTARG *pVarg)
void WINAPI VariantInit(VARIANTARG *pVarg)
static const WCHAR param_userW[]
static const WCHAR method_getownerW[]
static const WCHAR class_processW[]
static const WCHAR param_returnvalueW[]
static const WCHAR param_domainW[]
DWORD WINAPI GetLastError(void)
#define ERROR_BUFFER_OVERFLOW