29 static const WCHAR rootW[] = {
'R',
'O',
'O',
'T',
'\\',
'C',
'I',
'M',
'V',
'2',0};
40 win_skip(
"can't create instance of WbemLocator\n");
43 ok(
hr ==
S_OK,
"failed to create IWbemLocator interface %08x\n",
hr );
45 refs = IWbemLocator_Release(
locator );
46 ok( refs == 0,
"unexpected refcount %u\n", refs );
49 ok(
hr ==
S_OK,
"failed to create IWbemLocator interface %08x\n",
hr );
52 ok(
hr ==
S_OK,
"failed to get IWbemServices interface %08x\n",
hr );
54 refs = IWbemServices_Release(
services );
55 ok( refs == 0,
"unexpected refcount %u\n", refs );
58 ok(
hr ==
S_OK,
"failed to get IWbemServices interface %08x\n",
hr );
60 hr = IWbemServices_QueryInterface(
services, &IID_IClientSecurity, (
void **)&
security );
61 ok(
hr ==
S_OK,
"failed to query IClientSecurity interface %08x\n",
hr );
64 refs = IClientSecurity_Release(
security );
65 ok( refs == 1,
"unexpected refcount %u\n", refs );
67 refs = IWbemServices_Release(
services );
68 ok( refs == 0,
"unexpected refcount %u\n", refs );
71 ok(
hr ==
S_OK,
"failed to get IWbemServices interface %08x\n",
hr );
73 hr = IWbemServices_QueryInterface(
services, &IID_IClientSecurity, (
void **)&
security );
74 ok(
hr ==
S_OK,
"failed to query IClientSecurity interface %08x\n",
hr );
77 refs = IWbemServices_Release(
services );
78 todo_wine ok( refs == 1,
"unexpected refcount %u\n", refs );
80 refs = IClientSecurity_Release(
security );
81 todo_wine ok( refs == 0,
"unexpected refcount %u\n", refs );
83 IWbemLocator_Release(
locator );
89 static const WCHAR path0W[] = {0};
90 static const WCHAR path1W[] = {
'\\',0};
91 static const WCHAR path2W[] = {
'\\',
'\\',0};
92 static const WCHAR path3W[] = {
'\\',
'\\',
'.',0};
93 static const WCHAR path4W[] = {
'\\',
'\\',
'.',
'\\',0};
94 static const WCHAR path5W[] = {
'\\',
'R',
'O',
'O',
'T',0};
95 static const WCHAR path6W[] = {
'\\',
'\\',
'R',
'O',
'O',
'T',0};
96 static const WCHAR path7W[] = {
'\\',
'\\',
'.',
'R',
'O',
'O',
'T',0};
97 static const WCHAR path8W[] = {
'\\',
'\\',
'.',
'\\',
'N',
'O',
'N',
'E',0};
98 static const WCHAR path9W[] = {
'\\',
'\\',
'.',
'\\',
'R',
'O',
'O',
'T',0};
99 static const WCHAR path10W[] = {
'\\',
'\\',
'\\',
'.',
'\\',
'R',
'O',
'O',
'T',0};
100 static const WCHAR path11W[] = {
'\\',
'/',
'.',
'\\',
'R',
'O',
'O',
'T',0};
101 static const WCHAR path12W[] = {
'/',
'/',
'.',
'\\',
'R',
'O',
'O',
'T',0};
102 static const WCHAR path13W[] = {
'\\',
'\\',
'.',
'/',
'R',
'O',
'O',
'T',0};
103 static const WCHAR path14W[] = {
'/',
'/',
'.',
'/',
'R',
'O',
'O',
'T',0};
104 static const WCHAR path15W[] = {
'N',
'O',
'N',
'E',0};
105 static const WCHAR path16W[] = {
'R',
'O',
'O',
'T',0};
106 static const WCHAR path17W[] = {
'R',
'O',
'O',
'T',
'\\',
'N',
'O',
'N',
'E',0};
107 static const WCHAR path18W[] = {
'R',
'O',
'O',
'T',
'\\',
'C',
'I',
'M',
'V',
'2',0};
108 static const WCHAR path19W[] = {
'R',
'O',
'O',
'T',
'\\',
'\\',
'C',
'I',
'M',
'V',
'2',0};
109 static const WCHAR path20W[] = {
'R',
'O',
'O',
'T',
'\\',
'C',
'I',
'M',
'V',
'2',
'\\',0};
110 static const WCHAR path21W[] = {
'R',
'O',
'O',
'T',
'/',
'C',
'I',
'M',
'V',
'2',0};
111 static const WCHAR path22W[] = {
'r',
'o',
'o',
't',
'\\',
'd',
'e',
'f',
'a',
'u',
'l',
't',0};
112 static const WCHAR path23W[] = {
'r',
'o',
'o',
't',
'\\',
'c',
'i',
'm',
'v',
'0',0};
113 static const WCHAR path24W[] = {
'r',
'o',
'o',
't',
'\\',
'c',
'i',
'm',
'v',
'1',0};
114 static const WCHAR path25W[] = {
'\\',
'\\',
'l',
'o',
'c',
'a',
'l',
'h',
'o',
's',
't',
'\\',
'R',
'O',
'O',
'T',0};
115 static const WCHAR path26W[] = {
'\\',
'\\',
'L',
'O',
'C',
'A',
'L',
'H',
'O',
'S',
'T',
'\\',
'R',
'O',
'O',
'T',0};
131 { path6W, 0x800706ba,
TRUE },
132 { path7W, 0x800706ba,
TRUE },
162 win_skip(
"can't create instance of WbemLocator\n");
165 ok(
hr ==
S_OK,
"failed to create IWbemLocator interface %08x\n",
hr );
177 IWbemLocator_Release(
locator );
static const WCHAR rootW[]
HRESULT WINAPI DECLSPEC_HOTPATCH CoCreateInstance(REFCLSID rclsid, LPUNKNOWN pUnkOuter, DWORD dwClsContext, REFIID iid, LPVOID *ppv)
HRESULT WINAPI CoInitialize(LPVOID lpReserved)
void WINAPI DECLSPEC_HOTPATCH CoUninitialize(void)
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
#define todo_wine_if(is_todo)
static void test_IWbemLocator(void)
static void test_IClientSecurity(void)
BSTR WINAPI SysAllocString(LPCOLESTR str)
void WINAPI DECLSPEC_HOTPATCH SysFreeString(BSTR str)
@ WBEM_E_INVALID_NAMESPACE
@ WBEM_E_INVALID_PARAMETER