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
59ecc9cc
Commit
59ecc9cc
authored
Sep 12, 2017
by
Sebastian Lackner
Committed by
Alexandre Julliard
Sep 13, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Add stub for GetProcessWorkingSetSizeEx.
Signed-off-by:
Alex Henrie
<
alexhenrie24@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
fbf2631d
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
8 deletions
+20
-8
api-ms-win-core-memory-l1-1-1.spec
...win-core-memory-l1-1-1/api-ms-win-core-memory-l1-1-1.spec
+1
-1
api-ms-win-core-memory-l1-1-2.spec
...win-core-memory-l1-1-2/api-ms-win-core-memory-l1-1-2.spec
+1
-1
kernel32.spec
dlls/kernel32/kernel32.spec
+1
-1
process.c
dlls/kernel32/process.c
+16
-4
kernelbase.spec
dlls/kernelbase/kernelbase.spec
+1
-1
No files found.
dlls/api-ms-win-core-memory-l1-1-1/api-ms-win-core-memory-l1-1-1.spec
View file @
59ecc9cc
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
@ stdcall CreateMemoryResourceNotification(long) kernel32.CreateMemoryResourceNotification
@ stdcall CreateMemoryResourceNotification(long) kernel32.CreateMemoryResourceNotification
@ stdcall FlushViewOfFile(ptr long) kernel32.FlushViewOfFile
@ stdcall FlushViewOfFile(ptr long) kernel32.FlushViewOfFile
@ stdcall GetLargePageMinimum() kernel32.GetLargePageMinimum
@ stdcall GetLargePageMinimum() kernel32.GetLargePageMinimum
@ st
ub
GetProcessWorkingSetSizeEx
@ st
dcall GetProcessWorkingSetSizeEx(long ptr ptr ptr) kernel32.
GetProcessWorkingSetSizeEx
@ stdcall GetSystemFileCacheSize(ptr ptr ptr) kernel32.GetSystemFileCacheSize
@ stdcall GetSystemFileCacheSize(ptr ptr ptr) kernel32.GetSystemFileCacheSize
@ stdcall GetWriteWatch(long ptr long ptr ptr ptr) kernel32.GetWriteWatch
@ stdcall GetWriteWatch(long ptr long ptr ptr ptr) kernel32.GetWriteWatch
@ stdcall MapViewOfFile(long long long long long) kernel32.MapViewOfFile
@ stdcall MapViewOfFile(long long long long long) kernel32.MapViewOfFile
...
...
dlls/api-ms-win-core-memory-l1-1-2/api-ms-win-core-memory-l1-1-2.spec
View file @
59ecc9cc
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
@ stdcall FreeUserPhysicalPages(long ptr ptr) kernel32.FreeUserPhysicalPages
@ stdcall FreeUserPhysicalPages(long ptr ptr) kernel32.FreeUserPhysicalPages
@ stdcall GetLargePageMinimum() kernel32.GetLargePageMinimum
@ stdcall GetLargePageMinimum() kernel32.GetLargePageMinimum
@ stub GetMemoryErrorHandlingCapabilities
@ stub GetMemoryErrorHandlingCapabilities
@ st
ub
GetProcessWorkingSetSizeEx
@ st
dcall GetProcessWorkingSetSizeEx(long ptr ptr ptr) kernel32.
GetProcessWorkingSetSizeEx
@ stdcall GetSystemFileCacheSize(ptr ptr ptr) kernel32.GetSystemFileCacheSize
@ stdcall GetSystemFileCacheSize(ptr ptr ptr) kernel32.GetSystemFileCacheSize
@ stdcall GetWriteWatch(long ptr long ptr ptr ptr) kernel32.GetWriteWatch
@ stdcall GetWriteWatch(long ptr long ptr ptr ptr) kernel32.GetWriteWatch
@ stub MapUserPhysicalPages
@ stub MapUserPhysicalPages
...
...
dlls/kernel32/kernel32.spec
View file @
59ecc9cc
...
@@ -793,7 +793,7 @@
...
@@ -793,7 +793,7 @@
# @ stub GetProcessUserModeExceptionPolicy
# @ stub GetProcessUserModeExceptionPolicy
@ stdcall GetProcessVersion(long)
@ stdcall GetProcessVersion(long)
@ stdcall GetProcessWorkingSetSize(long ptr ptr)
@ stdcall GetProcessWorkingSetSize(long ptr ptr)
# @ stub GetProcessWorkingSetSizeEx
@ stdcall GetProcessWorkingSetSizeEx(long ptr ptr ptr)
@ stdcall GetProductInfo(long long long long ptr)
@ stdcall GetProductInfo(long long long long ptr)
@ stub GetProductName
@ stub GetProductName
@ stdcall GetProfileIntA(str str long)
@ stdcall GetProfileIntA(str str long)
...
...
dlls/kernel32/process.c
View file @
59ecc9cc
...
@@ -3424,21 +3424,33 @@ BOOL WINAPI K32EmptyWorkingSet(HANDLE hProcess)
...
@@ -3424,21 +3424,33 @@ BOOL WINAPI K32EmptyWorkingSet(HANDLE hProcess)
return
SetProcessWorkingSetSize
(
hProcess
,
(
SIZE_T
)
-
1
,
(
SIZE_T
)
-
1
);
return
SetProcessWorkingSetSize
(
hProcess
,
(
SIZE_T
)
-
1
,
(
SIZE_T
)
-
1
);
}
}
/***********************************************************************
/***********************************************************************
* GetProcessWorkingSetSize (KERNEL32.@)
* GetProcessWorkingSetSize
Ex
(KERNEL32.@)
*/
*/
BOOL
WINAPI
GetProcessWorkingSetSize
(
HANDLE
hProcess
,
PSIZE_T
minset
,
BOOL
WINAPI
GetProcessWorkingSetSize
Ex
(
HANDLE
process
,
SIZE_T
*
minset
,
PSIZE_T
maxset
)
SIZE_T
*
maxset
,
DWORD
*
flags
)
{
{
FIXME
(
"(%p,%p,%p
): stub
\n
"
,
hProcess
,
minset
,
maxset
);
FIXME
(
"(%p,%p,%p
,%p): stub
\n
"
,
process
,
minset
,
maxset
,
flags
);
/* 32 MB working set size */
/* 32 MB working set size */
if
(
minset
)
*
minset
=
32
*
1024
*
1024
;
if
(
minset
)
*
minset
=
32
*
1024
*
1024
;
if
(
maxset
)
*
maxset
=
32
*
1024
*
1024
;
if
(
maxset
)
*
maxset
=
32
*
1024
*
1024
;
if
(
flags
)
*
flags
=
QUOTA_LIMITS_HARDWS_MIN_DISABLE
|
QUOTA_LIMITS_HARDWS_MAX_DISABLE
;
return
TRUE
;
return
TRUE
;
}
}
/***********************************************************************
/***********************************************************************
* GetProcessWorkingSetSize (KERNEL32.@)
*/
BOOL
WINAPI
GetProcessWorkingSetSize
(
HANDLE
process
,
SIZE_T
*
minset
,
SIZE_T
*
maxset
)
{
return
GetProcessWorkingSetSizeEx
(
process
,
minset
,
maxset
,
NULL
);
}
/***********************************************************************
* SetProcessShutdownParameters (KERNEL32.@)
* SetProcessShutdownParameters (KERNEL32.@)
*/
*/
BOOL
WINAPI
SetProcessShutdownParameters
(
DWORD
level
,
DWORD
flags
)
BOOL
WINAPI
SetProcessShutdownParameters
(
DWORD
level
,
DWORD
flags
)
...
...
dlls/kernelbase/kernelbase.spec
View file @
59ecc9cc
...
@@ -637,7 +637,7 @@
...
@@ -637,7 +637,7 @@
@ stdcall GetProcessShutdownParameters(ptr ptr) kernel32.GetProcessShutdownParameters
@ stdcall GetProcessShutdownParameters(ptr ptr) kernel32.GetProcessShutdownParameters
@ stdcall GetProcessTimes(long ptr ptr ptr ptr) kernel32.GetProcessTimes
@ stdcall GetProcessTimes(long ptr ptr ptr ptr) kernel32.GetProcessTimes
@ stdcall GetProcessVersion(long) kernel32.GetProcessVersion
@ stdcall GetProcessVersion(long) kernel32.GetProcessVersion
# @ stub
GetProcessWorkingSetSizeEx
@ stdcall GetProcessWorkingSetSizeEx(long ptr ptr ptr) kernel32.
GetProcessWorkingSetSizeEx
# @ stub GetProcessorSystemCycleTime
# @ stub GetProcessorSystemCycleTime
@ stdcall GetProductInfo(long long long long ptr) kernel32.GetProductInfo
@ stdcall GetProductInfo(long long long long ptr) kernel32.GetProductInfo
@ stub GetPtrCalData
@ stub GetPtrCalData
...
...
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