34static const WCHAR path7[] =
L"//./root/cimv2:Win32_OperatingSystem";
35static const WCHAR path8[] =
L"/root/cimv2:Win32_OperatingSystem";
36static const WCHAR path9[] =
L"\\\\.\\root\\cimv2:Win32_OperatingSystem";
37static const WCHAR path10[] =
L"/\\.\\root\\cimv2:Win32_OperatingSystem";
38static const WCHAR path11[] =
L"//.\\root\\cimv2:Win32_OperatingSystem";
44static const WCHAR path17[] =
L"\\\\.\\root\\cimv2:Win32_LogicalDisk.DeviceId=\"C:\"";
45static const WCHAR path18[] =
L"\\\\.\\root\\cimv2:Win32_LogicalDisk.DeviceId=\"C:\",DriveType=3";
46static const WCHAR path19[] =
L"\\\\.\\root\\cimv2:Win32_LogicalDisk.DeviceId=";
47static const WCHAR path20[] =
L"\\\\.\\root\\cimv2:Win32_LogicalDisk.DeviceId = \"C:\"";
57 win_skip(
"can't create WbemDefPath instance, skipping tests\n" );
132 IWbemPath_Release(
path );
137 static const WCHAR serviceW[] =
L"Win32_Service.Name=\"Service\"";
138 static const WCHAR classW[] =
L"Win32_Class";
139 static const WCHAR expected1W[] =
L"root\\cimv2:Win32_LogicalDisk.DeviceId=\"C:\"";
140 static const WCHAR expected2W[] =
L"Win32_LogicalDisk.DeviceId=\"C:\"";
141 static const WCHAR expected3W[] =
L"\\\\.\\root\\cimv2";
162 ok(
len == 1,
"unexpected length %lu\n",
len );
177 ok(
len == 1,
"unexpected length %lu\n",
len );
300 IWbemPath_Release(
path );
313 IWbemPath_Release(
path );
326 IWbemPath_Release(
path );
331 static const WCHAR classW[] =
L"Win32_LogicalDisk";
374 IWbemPath_Release(
path );
379 static const WCHAR classW[] =
L"class";
391 hr = IWbemPath_SetClassName(
path,
L"" );
394 hr = IWbemPath_SetClassName(
path, classW );
411 IWbemPath_Release(
path );
458 IWbemPath_Release(
path );
476 hr = IWbemPath_GetInfo(
path, 0, &resp );
491 hr = IWbemPath_GetInfo(
path, 0, &resp );
498 IWbemPath_Release(
path );
505 hr = IWbemPath_GetInfo(
path, 0, &resp );
515 hr = IWbemPath_GetInfo(
path, 0, &resp );
524 hr = IWbemPath_GetInfo(
path, 0, &resp );
531 IWbemPath_Release(
path );
551 hr = IWbemPath_SetServer(
path,
L"" );
554 hr = IWbemPath_SetServer(
path,
L"server" );
584 IWbemPath_Release(
path );
638 IWbemPath_Release(
path );
655 hr = IWbemPath_RemoveAllNamespaces(
path );
667 hr = IWbemPath_RemoveAllNamespaces(
path );
681 IWbemPath_Release(
path );
698 hr = IWbemPath_RemoveNamespaceAt(
path, 0 );
715 hr = IWbemPath_RemoveNamespaceAt(
path, 0 );
736 hr = IWbemPath_RemoveNamespaceAt(
path, 0 );
754 IWbemPath_Release(
path );
771 hr = IWbemPath_SetNamespaceAt(
path, 0,
NULL );
774 hr = IWbemPath_SetNamespaceAt(
path, 1,
L"cimv2" );
777 hr = IWbemPath_SetNamespaceAt(
path, 0,
L"cimv2" );
797 hr = IWbemPath_SetNamespaceAt(
path, 0,
L"root" );
824 IWbemPath_Release(
path );
void WINAPI DECLSPEC_HOTPATCH CoUninitialize(void)
HRESULT WINAPI DECLSPEC_HOTPATCH CoCreateInstance(REFCLSID rclsid, IUnknown *outer, DWORD cls_context, REFIID riid, void **obj)
static __inline const char * wine_dbgstr_longlong(ULONGLONG ll)
int WINAPI lstrcmpW(LPCWSTR str1, LPCWSTR str2)
HRESULT WINAPI CoInitialize(LPVOID lpReserved)
GLuint GLuint GLsizei count
GLenum GLuint GLenum GLsizei const GLchar * buf
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 const WCHAR path3[]
static const WCHAR path19[]
static IWbemPath * create_path(void)
static void test_IWbemPath_GetText(void)
static void test_IWbemPath_RemoveAllNamespaces(void)
static void test_IWbemPath_GetInfo(void)
static const WCHAR path7[]
static const WCHAR path18[]
static void test_IWbemPath_GetClassName(void)
static const WCHAR path11[]
static void test_IWbemPath_GetNamespaceAt(void)
static void test_IWbemPath_SetClassName(void)
static void test_IWbemPath_SetNamespaceAt(void)
static void test_IWbemPath_GetServer(void)
static const WCHAR path5[]
static const WCHAR path14[]
static void test_IWbemPath_SetText(void)
static void test_IWbemPath_RemoveNamespaceAt(void)
static const WCHAR path10[]
static const WCHAR path12[]
static const WCHAR path20[]
static const WCHAR path1[]
static const WCHAR path16[]
static const WCHAR path13[]
static const WCHAR path8[]
static const WCHAR path17[]
static const WCHAR path6[]
static const WCHAR path9[]
static void test_IWbemPath_SetServer(void)
static const WCHAR path4[]
static const WCHAR path2[]
static const WCHAR path15[]
@ WBEM_E_INVALID_PARAMETER
@ WBEM_E_INVALID_OBJECT_PATH
@ WBEMPATH_GET_RELATIVE_ONLY
@ WBEMPATH_GET_SERVER_AND_NAMESPACE_ONLY
@ WBEMPATH_GET_SERVER_TOO
@ WBEMPATH_GET_NAMESPACE_ONLY
@ WBEMPATH_TREAT_SINGLE_IDENT_AS_NS
@ WBEMPATH_CREATE_ACCEPT_RELATIVE
@ WBEMPATH_CREATE_ACCEPT_ABSOLUTE
@ WBEMPATH_CREATE_ACCEPT_ALL
@ WBEMPATH_INFO_HAS_IMPLIED_KEY
@ WBEMPATH_INFO_IS_CLASS_REF
@ WBEMPATH_INFO_HAS_MACHINE_NAME
@ WBEMPATH_INFO_V2_COMPLIANT
@ WBEMPATH_INFO_HAS_SUBSCOPES
@ WBEMPATH_INFO_PATH_HAD_SERVER
@ WBEMPATH_INFO_IS_INST_REF
@ WBEMPATH_INFO_SERVER_NAMESPACE_ONLY
@ WBEMPATH_INFO_CIM_COMPLIANT
@ WBEMPATH_INFO_ANON_LOCAL_MACHINE
@ WBEMPATH_INFO_V1_COMPLIANT