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
c9abb27d
Commit
c9abb27d
authored
Apr 30, 2014
by
Hans Leidekker
Committed by
Alexandre Julliard
Apr 30, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wbemprox: Return selected properties only from IWbemClassObject::GetNames.
parent
91414e8e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
query.c
dlls/wbemprox/query.c
+2
-1
No files found.
dlls/wbemprox/query.c
View file @
c9abb27d
...
...
@@ -964,7 +964,7 @@ HRESULT get_properties( const struct view *view, LONG flags, SAFEARRAY **props )
SAFEARRAY
*
sa
;
BSTR
str
;
LONG
i
;
UINT
num_props
=
count_properties
(
view
);
UINT
num_props
=
count_
selected_
properties
(
view
);
if
(
!
(
sa
=
SafeArrayCreateVector
(
VT_BSTR
,
0
,
num_props
)))
return
E_OUTOFMEMORY
;
...
...
@@ -973,6 +973,7 @@ HRESULT get_properties( const struct view *view, LONG flags, SAFEARRAY **props )
BOOL
is_system
;
if
(
is_method
(
view
->
table
,
i
))
continue
;
if
(
!
is_selected_prop
(
view
,
view
->
table
->
columns
[
i
].
name
))
continue
;
is_system
=
is_system_prop
(
view
->
table
->
columns
[
i
].
name
);
if
((
flags
&
WBEM_FLAG_NONSYSTEM_ONLY
)
&&
is_system
)
continue
;
...
...
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