Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
0fb34587
Commit
0fb34587
authored
Feb 06, 2013
by
Hans Leidekker
Committed by
Alexandre Julliard
Feb 06, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wbemprox: Trace the qualifier value in IWbemClassObject::GetNames.
parent
ba02cb25
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
1 deletion
+34
-1
class.c
dlls/wbemprox/class.c
+2
-1
wbemprox_private.h
dlls/wbemprox/wbemprox_private.h
+32
-0
No files found.
dlls/wbemprox/class.c
View file @
0fb34587
...
...
@@ -474,7 +474,8 @@ static HRESULT WINAPI class_object_GetNames(
struct
class_object
*
co
=
impl_from_IWbemClassObject
(
iface
);
struct
enum_class_object
*
ec
=
impl_from_IEnumWbemClassObject
(
co
->
iter
);
TRACE
(
"%p, %s, %08x, %p, %p
\n
"
,
iface
,
debugstr_w
(
wszQualifierName
),
lFlags
,
pQualifierVal
,
pNames
);
TRACE
(
"%p, %s, %08x, %s, %p
\n
"
,
iface
,
debugstr_w
(
wszQualifierName
),
lFlags
,
debugstr_variant
(
pQualifierVal
),
pNames
);
if
(
wszQualifierName
||
pQualifierVal
)
{
...
...
dlls/wbemprox/wbemprox_private.h
View file @
0fb34587
...
...
@@ -16,6 +16,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wine/debug.h"
#include "wine/list.h"
#include "wine/unicode.h"
...
...
@@ -239,6 +240,37 @@ static inline WCHAR *heap_strdupW( const WCHAR *src )
return
dst
;
}
static
inline
const
char
*
debugstr_variant
(
const
VARIANT
*
v
)
{
if
(
!
v
)
return
"(null)"
;
switch
(
V_VT
(
v
))
{
case
VT_EMPTY
:
return
"{VT_EMPTY}"
;
case
VT_NULL
:
return
"{VT_NULL}"
;
case
VT_I4
:
return
wine_dbg_sprintf
(
"{VT_I4: %d}"
,
V_I4
(
v
)
);
case
VT_R8
:
return
wine_dbg_sprintf
(
"{VT_R8: %lf}"
,
V_R8
(
v
)
);
case
VT_BSTR
:
return
wine_dbg_sprintf
(
"{VT_BSTR: %s}"
,
debugstr_w
(
V_BSTR
(
v
))
);
case
VT_DISPATCH
:
return
wine_dbg_sprintf
(
"{VT_DISPATCH: %p}"
,
V_DISPATCH
(
v
)
);
case
VT_BOOL
:
return
wine_dbg_sprintf
(
"{VT_BOOL: %x}"
,
V_BOOL
(
v
)
);
case
VT_UNKNOWN
:
return
wine_dbg_sprintf
(
"{VT_UNKNOWN: %p}"
,
V_UNKNOWN
(
v
)
);
case
VT_UINT
:
return
wine_dbg_sprintf
(
"{VT_UINT: %u}"
,
V_UINT
(
v
)
);
case
VT_BSTR
|
VT_BYREF
:
return
wine_dbg_sprintf
(
"{VT_BSTR|VT_BYREF: ptr %p, data %s}"
,
V_BSTRREF
(
v
),
V_BSTRREF
(
v
)
?
debugstr_w
(
*
V_BSTRREF
(
v
)
)
:
NULL
);
default:
return
wine_dbg_sprintf
(
"{vt %d}"
,
V_VT
(
v
)
);
}
}
static
const
WCHAR
class_processW
[]
=
{
'W'
,
'i'
,
'n'
,
'3'
,
'2'
,
'_'
,
'P'
,
'r'
,
'o'
,
'c'
,
'e'
,
's'
,
's'
,
0
};
static
const
WCHAR
class_serviceW
[]
=
{
'W'
,
'i'
,
'n'
,
'3'
,
'2'
,
'_'
,
'S'
,
'e'
,
'r'
,
'v'
,
'i'
,
'c'
,
'e'
,
0
};
static
const
WCHAR
class_stdregprovW
[]
=
{
'S'
,
't'
,
'd'
,
'R'
,
'e'
,
'g'
,
'P'
,
'r'
,
'o'
,
'v'
,
0
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment