30 static const WCHAR path3[] = {
'\\',
'\\',
's',
'e',
'r',
'v',
'e',
'r',0};
31 static const WCHAR path4[] = {
'\\',
'\\',
's',
'e',
'r',
'v',
'e',
'r',
'\\',0};
33 static const WCHAR path6[] = {
'/',
'/',
'.',
'/',
'r',
'o',
'o',
't',
'/',
'c',
'i',
'm',
'v',
'2',0};
35 {
'/',
'/',
'.',
'/',
'r',
'o',
'o',
't',
'/',
'c',
'i',
'm',
'v',
'2',
':',
'W',
'i',
'n',
'3',
'2',
'_',
36 'O',
'p',
'e',
'r',
'a',
't',
'i',
'n',
'g',
'S',
'y',
's',
't',
'e',
'm',0};
38 {
'/',
'r',
'o',
'o',
't',
'/',
'c',
'i',
'm',
'v',
'2',
':',
'W',
'i',
'n',
'3',
'2',
'_',
39 'O',
'p',
'e',
'r',
'a',
't',
'i',
'n',
'g',
'S',
'y',
's',
't',
'e',
'm',0};
41 {
'\\',
'\\',
'.',
'\\',
'r',
'o',
'o',
't',
'\\',
'c',
'i',
'm',
'v',
'2',
':',
'W',
'i',
'n',
'3',
'2',
'_',
42 'O',
'p',
'e',
'r',
'a',
't',
'i',
'n',
'g',
'S',
'y',
's',
't',
'e',
'm',0};
44 {
'/',
'\\',
'.',
'\\',
'r',
'o',
'o',
't',
'\\',
'c',
'i',
'm',
'v',
'2',
':',
'W',
'i',
'n',
'3',
'2',
'_',
45 'O',
'p',
'e',
'r',
'a',
't',
'i',
'n',
'g',
'S',
'y',
's',
't',
'e',
'm',0};
47 {
'/',
'/',
'.',
'\\',
'r',
'o',
'o',
't',
'\\',
'c',
'i',
'm',
'v',
'2',
':',
'W',
'i',
'n',
'3',
'2',
'_',
48 'O',
'p',
'e',
'r',
'a',
't',
'i',
'n',
'g',
'S',
'y',
's',
't',
'e',
'm',0};
50 {
'r',
'o',
'o',
't',
'\\',
'c',
'i',
'm',
'v',
'2',
':',
'W',
'i',
'n',
'3',
'2',
'_',
51 'O',
'p',
'e',
'r',
'a',
't',
'i',
'n',
'g',
'S',
'y',
's',
't',
'e',
'm',0};
53 {
'\\',
'\\',
'.',
'\\',
'r',
'o',
'o',
't',
'\\',
'c',
'i',
'm',
'v',
'2',0};
55 {
'W',
'i',
'n',
'3',
'2',
'_',
'O',
'p',
'e',
'r',
'a',
't',
'i',
'n',
'g',
'S',
'y',
's',
't',
'e',
'm',0};
57 {
'r',
'o',
'o',
't',
'\\',
'c',
'i',
'm',
'v',
'2',0};
59 {
'\\',
'\\',
'.',
'\\',
'r',
'o',
'o',
't',
'\\',
'c',
'i',
'm',
'v',
'2',0};
61 {
'\\',
'\\',
'.',
'\\',
'r',
'o',
'o',
't',
'\\',
'c',
'i',
'm',
'v',
'2',
':',
'W',
'i',
'n',
'3',
'2',
'_',
62 'L',
'o',
'g',
'i',
'c',
'a',
'l',
'D',
'i',
's',
'k',
'.',
'D',
'e',
'v',
'i',
'c',
'e',
'I',
'd',
'=',
65 {
'\\',
'\\',
'.',
'\\',
'r',
'o',
'o',
't',
'\\',
'c',
'i',
'm',
'v',
'2',
':',
'W',
'i',
'n',
'3',
'2',
'_',
66 'L',
'o',
'g',
'i',
'c',
'a',
'l',
'D',
'i',
's',
'k',
'.',
'D',
'e',
'v',
'i',
'c',
'e',
'I',
'd',
'=',
67 '"',
'C',
':',
'"',
',',
'D',
'r',
'i',
'v',
'e',
'T',
'y',
'p',
'e',
'=',
'3',0};
69 {
'\\',
'\\',
'.',
'\\',
'r',
'o',
'o',
't',
'\\',
'c',
'i',
'm',
'v',
'2',
':',
'W',
'i',
'n',
'3',
'2',
'_',
70 'L',
'o',
'g',
'i',
'c',
'a',
'l',
'D',
'i',
's',
'k',
'.',
'D',
'e',
'v',
'i',
'c',
'e',
'I',
'd',
'=',0};
72 {
'\\',
'\\',
'.',
'\\',
'r',
'o',
'o',
't',
'\\',
'c',
'i',
'm',
'v',
'2',
':',
'W',
'i',
'n',
'3',
'2',
'_',
73 'L',
'o',
'g',
'i',
'c',
'a',
'l',
'D',
'i',
's',
'k',
'.',
'D',
'e',
'v',
'i',
'c',
'e',
'I',
'd',
' ',
'=',
' ',
84 win_skip(
"can't create WbemDefPath instance, skipping tests\n" );
159 IWbemPath_Release(
path );
164 static const WCHAR serviceW[] =
165 {
'W',
'i',
'n',
'3',
'2',
'_',
'S',
'e',
'r',
'v',
'i',
'c',
'e',
'.',
'N',
'a',
'm',
'e',
'=',
166 '\"',
'S',
'e',
'r',
'v',
'i',
'c',
'e',
'\"',0};
168 {
'W',
'i',
'n',
'3',
'2',
'_',
'C',
'l',
'a',
's',
's',0};
169 static const WCHAR expected1W[] =
170 {
'r',
'o',
'o',
't',
'\\',
'c',
'i',
'm',
'v',
'2',
':',
'W',
'i',
'n',
'3',
'2',
'_',
171 'L',
'o',
'g',
'i',
'c',
'a',
'l',
'D',
'i',
's',
'k',
'.',
'D',
'e',
'v',
'i',
'c',
'e',
'I',
'd',
'=',
173 static const WCHAR expected2W[] =
174 {
'W',
'i',
'n',
'3',
'2',
'_',
'L',
'o',
'g',
'i',
'c',
'a',
'l',
'D',
'i',
's',
'k',
'.',
175 'D',
'e',
'v',
'i',
'c',
'e',
'I',
'd',
'=',
'"',
'C',
':',
'"',0};
176 static const WCHAR expected3W[] =
177 {
'\\',
'\\',
'.',
'\\',
'r',
'o',
'o',
't',
'\\',
'c',
'i',
'm',
'v',
'2',0};
198 ok(
len == 1,
"unexpected length %u\n",
len );
213 ok(
len == 1,
"unexpected length %u\n",
len );
336 IWbemPath_Release(
path );
349 IWbemPath_Release(
path );
362 IWbemPath_Release(
path );
367 static const WCHAR classW[] = {
'W',
'i',
'n',
'3',
'2',
'_',
'L',
'o',
'g',
'i',
'c',
'a',
'l',
'D',
'i',
's',
'k',0};
410 IWbemPath_Release(
path );
415 static const WCHAR classW[] = {
'c',
'l',
'a',
's',
's',0};
448 IWbemPath_Release(
path );
496 IWbemPath_Release(
path );
514 hr = IWbemPath_GetInfo(
path, 0, &resp );
529 hr = IWbemPath_GetInfo(
path, 0, &resp );
536 IWbemPath_Release(
path );
543 hr = IWbemPath_GetInfo(
path, 0, &resp );
554 hr = IWbemPath_GetInfo(
path, 0, &resp );
559 IWbemPath_Release(
path );
564 static const WCHAR serverW[] = {
's',
'e',
'r',
'v',
'e',
'r',0};
584 hr = IWbemPath_SetServer(
path, serverW );
614 IWbemPath_Release(
path );
619 static const WCHAR rootW[] = {
'r',
'o',
'o',
't',0};
620 static const WCHAR cimv2W[] = {
'c',
'i',
'm',
'v',
'2',0};
670 IWbemPath_Release(
path );
687 hr = IWbemPath_RemoveAllNamespaces(
path );
699 hr = IWbemPath_RemoveAllNamespaces(
path );
713 IWbemPath_Release(
path );
722 static const WCHAR cimv2W[] = {
'c',
'i',
'm',
'v',
'2',0};
731 hr = IWbemPath_RemoveNamespaceAt(
path, 0 );
748 hr = IWbemPath_RemoveNamespaceAt(
path, 0 );
769 hr = IWbemPath_RemoveNamespaceAt(
path, 0 );
788 IWbemPath_Release(
path );
797 static const WCHAR rootW[] = {
'r',
'o',
'o',
't',0};
798 static const WCHAR cimv2W[] = {
'c',
'i',
'm',
'v',
'2',0};
807 hr = IWbemPath_SetNamespaceAt(
path, 0,
NULL );
810 hr = IWbemPath_SetNamespaceAt(
path, 1, cimv2W );
813 hr = IWbemPath_SetNamespaceAt(
path, 0, cimv2W );
862 IWbemPath_Release(
path );
static const WCHAR classW[]
static const WCHAR path3[]
static const WCHAR path2[]
static const WCHAR path4[]
static const WCHAR path20[]
static IWbemPath * create_path(void)
static const WCHAR path14[]
char * wine_dbgstr_w(const wchar_t *wstr)
static const WCHAR rootW[]
int WINAPI lstrcmpW(LPCWSTR lpString1, LPCWSTR lpString2)
GLuint GLuint GLsizei count
static void test_IWbemPath_GetText(void)
static void test_IWbemPath_GetServer(void)
static void test_IWbemPath_GetNamespaceAt(void)
static void test_IWbemPath_GetClassName(void)
static void test_IWbemPath_SetNamespaceAt(void)
static const WCHAR path11[]
static void test_IWbemPath_SetClassName(void)
static const WCHAR path19[]
static void test_IWbemPath_GetInfo(void)
GLenum GLuint GLenum GLsizei const GLchar * buf
static const WCHAR path10[]
static const WCHAR path5[]
static const WCHAR path18[]
static const WCHAR path13[]
static const WCHAR path1[]
static void test_IWbemPath_RemoveAllNamespaces(void)
#define todo_wine_if(is_todo)
static const WCHAR path17[]
static const WCHAR path8[]
static void test_IWbemPath_SetText(void)
HRESULT WINAPI DECLSPEC_HOTPATCH CoCreateInstance(REFCLSID rclsid, LPUNKNOWN pUnkOuter, DWORD dwClsContext, REFIID iid, LPVOID *ppv)
static const WCHAR path16[]
static void test_IWbemPath_RemoveNamespaceAt(void)
static const WCHAR emptyW[]
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 path15[]
static const WCHAR path12[]
void WINAPI DECLSPEC_HOTPATCH CoUninitialize(void)
static void test_IWbemPath_SetServer(void)
HRESULT WINAPI CoInitialize(LPVOID lpReserved)
static const WCHAR path6[]
static __inline const char * wine_dbgstr_longlong(ULONGLONG ll)
static const WCHAR path7[]
static const WCHAR dotW[]
static const WCHAR path9[]