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
25023c13
Commit
25023c13
authored
Apr 19, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
Apr 19, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
psapi: Forward EmptyWorkingSet implementation to kernel32.
parent
766eb46a
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
9 deletions
+10
-9
kernel32.spec
dlls/kernel32/kernel32.spec
+1
-0
process.c
dlls/kernel32/process.c
+8
-0
psapi.spec
dlls/psapi/psapi.spec
+1
-1
psapi_main.c
dlls/psapi/psapi_main.c
+0
-8
No files found.
dlls/kernel32/kernel32.spec
View file @
25023c13
...
...
@@ -767,6 +767,7 @@
@ stdcall IsValidLocale(long long)
# @ stub IsValidUILanguage
@ stdcall IsWow64Process(ptr ptr)
@ stdcall K32EmptyWorkingSet(long)
@ stdcall K32GetProcessImageFileNameA(long ptr long)
@ stdcall K32GetProcessImageFileNameW(long ptr long)
@ stdcall -i386 -private -register K32Thk1632Epilog() krnl386.exe16.K32Thk1632Epilog
...
...
dlls/kernel32/process.c
View file @
25023c13
...
...
@@ -3232,6 +3232,14 @@ BOOL WINAPI SetProcessWorkingSetSize(HANDLE hProcess, SIZE_T minset,
}
/***********************************************************************
* K32EmptyWorkingSet (KERNEL32.@)
*/
BOOL
WINAPI
K32EmptyWorkingSet
(
HANDLE
hProcess
)
{
return
SetProcessWorkingSetSize
(
hProcess
,
(
SIZE_T
)
-
1
,
(
SIZE_T
)
-
1
);
}
/***********************************************************************
* GetProcessWorkingSetSize (KERNEL32.@)
*/
BOOL
WINAPI
GetProcessWorkingSetSize
(
HANDLE
hProcess
,
PSIZE_T
minset
,
...
...
dlls/psapi/psapi.spec
View file @
25023c13
@ stdcall EmptyWorkingSet(long)
@ stdcall EmptyWorkingSet(long)
kernel32.K32EmptyWorkingSet
@ stdcall EnumDeviceDrivers(ptr long ptr)
@ stdcall EnumPageFilesA(ptr ptr)
@ stdcall EnumPageFilesW(ptr ptr)
...
...
dlls/psapi/psapi_main.c
View file @
25023c13
...
...
@@ -148,14 +148,6 @@ static BOOL PSAPI_GetLdrModule(HANDLE hProcess, HMODULE hModule,
}
/***********************************************************************
* EmptyWorkingSet (PSAPI.@)
*/
BOOL
WINAPI
EmptyWorkingSet
(
HANDLE
hProcess
)
{
return
SetProcessWorkingSetSize
(
hProcess
,
0xFFFFFFFF
,
0xFFFFFFFF
);
}
/***********************************************************************
* EnumDeviceDrivers (PSAPI.@)
*/
BOOL
WINAPI
EnumDeviceDrivers
(
LPVOID
*
lpImageBase
,
DWORD
cb
,
LPDWORD
lpcbNeeded
)
...
...
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