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
927400be
Commit
927400be
authored
Jun 22, 2015
by
Hans Leidekker
Committed by
Alexandre Julliard
Jun 22, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wbemprox: Implement Win32_Process.WorkingSetSize.
parent
bd647dc0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
builtin.c
dlls/wbemprox/builtin.c
+5
-0
No files found.
dlls/wbemprox/builtin.c
View file @
927400be
...
@@ -351,6 +351,8 @@ static const WCHAR prop_volumenameW[] =
...
@@ -351,6 +351,8 @@ static const WCHAR prop_volumenameW[] =
{
'V'
,
'o'
,
'l'
,
'u'
,
'm'
,
'e'
,
'N'
,
'a'
,
'm'
,
'e'
,
0
};
{
'V'
,
'o'
,
'l'
,
'u'
,
'm'
,
'e'
,
'N'
,
'a'
,
'm'
,
'e'
,
0
};
static
const
WCHAR
prop_volumeserialnumberW
[]
=
static
const
WCHAR
prop_volumeserialnumberW
[]
=
{
'V'
,
'o'
,
'l'
,
'u'
,
'm'
,
'e'
,
'S'
,
'e'
,
'r'
,
'i'
,
'a'
,
'l'
,
'N'
,
'u'
,
'm'
,
'b'
,
'e'
,
'r'
,
0
};
{
'V'
,
'o'
,
'l'
,
'u'
,
'm'
,
'e'
,
'S'
,
'e'
,
'r'
,
'i'
,
'a'
,
'l'
,
'N'
,
'u'
,
'm'
,
'b'
,
'e'
,
'r'
,
0
};
static
const
WCHAR
prop_workingsetsizeW
[]
=
{
'W'
,
'o'
,
'r'
,
'k'
,
'i'
,
'n'
,
'g'
,
'S'
,
'e'
,
't'
,
'S'
,
'i'
,
'z'
,
'e'
,
0
};
/* column definitions must be kept in sync with record structures below */
/* column definitions must be kept in sync with record structures below */
static
const
struct
column
col_baseboard
[]
=
static
const
struct
column
col_baseboard
[]
=
...
@@ -529,6 +531,7 @@ static const struct column col_process[] =
...
@@ -529,6 +531,7 @@ static const struct column col_process[] =
{
prop_pprocessidW
,
CIM_UINT32
,
VT_I4
},
{
prop_pprocessidW
,
CIM_UINT32
,
VT_I4
},
{
prop_processidW
,
CIM_UINT32
,
VT_I4
},
{
prop_processidW
,
CIM_UINT32
,
VT_I4
},
{
prop_threadcountW
,
CIM_UINT32
,
VT_I4
},
{
prop_threadcountW
,
CIM_UINT32
,
VT_I4
},
{
prop_workingsetsizeW
,
CIM_UINT64
},
/* methods */
/* methods */
{
method_getownerW
,
CIM_FLAG_ARRAY
|
COL_FLAG_METHOD
}
{
method_getownerW
,
CIM_FLAG_ARRAY
|
COL_FLAG_METHOD
}
};
};
...
@@ -911,6 +914,7 @@ struct record_process
...
@@ -911,6 +914,7 @@ struct record_process
UINT32
pprocess_id
;
UINT32
pprocess_id
;
UINT32
process_id
;
UINT32
process_id
;
UINT32
thread_count
;
UINT32
thread_count
;
UINT64
workingsetsize
;
/* methods */
/* methods */
class_method
*
get_owner
;
class_method
*
get_owner
;
};
};
...
@@ -2213,6 +2217,7 @@ static enum fill_status fill_process( struct table *table, const struct expr *co
...
@@ -2213,6 +2217,7 @@ static enum fill_status fill_process( struct table *table, const struct expr *co
rec
->
process_id
=
entry
.
th32ProcessID
;
rec
->
process_id
=
entry
.
th32ProcessID
;
rec
->
pprocess_id
=
entry
.
th32ParentProcessID
;
rec
->
pprocess_id
=
entry
.
th32ParentProcessID
;
rec
->
thread_count
=
entry
.
cntThreads
;
rec
->
thread_count
=
entry
.
cntThreads
;
rec
->
workingsetsize
=
0
;
rec
->
get_owner
=
process_get_owner
;
rec
->
get_owner
=
process_get_owner
;
if
(
!
match_row
(
table
,
row
,
cond
,
&
status
))
if
(
!
match_row
(
table
,
row
,
cond
,
&
status
))
{
{
...
...
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