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
595521bc
Commit
595521bc
authored
May 16, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
May 16, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Moved GetWsChanges and InitializeProcessForWsWatch implementations to kernel32.
parent
827e8521
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
33 additions
and
31 deletions
+33
-31
kernel32.spec
dlls/kernel32/kernel32.spec
+2
-0
virtual.c
dlls/kernel32/virtual.c
+29
-0
psapi.spec
dlls/psapi/psapi.spec
+2
-2
psapi_main.c
dlls/psapi/psapi_main.c
+0
-29
No files found.
dlls/kernel32/kernel32.spec
View file @
595521bc
...
...
@@ -787,6 +787,8 @@
@ stdcall K32GetModuleFileNameExW(long long ptr long)
@ stdcall K32GetModuleInformation(long long ptr long)
@ stdcall K32GetProcessMemoryInfo(long ptr long)
@ stdcall K32GetWsChanges(long ptr long)
@ stdcall K32InitializeProcessForWsWatch(long)
@ stdcall K32QueryWorkingSet(long ptr long)
@ stdcall K32QueryWorkingSetEx(long ptr long)
@ stdcall -i386 -private -register K32Thk1632Epilog() krnl386.exe16.K32Thk1632Epilog
...
...
dlls/kernel32/virtual.c
View file @
595521bc
...
...
@@ -869,3 +869,32 @@ BOOL WINAPI K32EnumPageFilesW( PENUM_PAGE_FILE_CALLBACKW callback, LPVOID contex
FIXME_
(
file
)(
"(%p, %p) stub
\n
"
,
callback
,
context
);
return
FALSE
;
}
/***********************************************************************
* K32GetWsChanges (KERNEL32.@)
*/
BOOL
WINAPI
K32GetWsChanges
(
HANDLE
process
,
PPSAPI_WS_WATCH_INFORMATION
watchinfo
,
DWORD
size
)
{
NTSTATUS
status
;
TRACE_
(
seh
)(
"(%p, %p, %d)
\n
"
,
process
,
watchinfo
,
size
);
status
=
NtQueryInformationProcess
(
process
,
ProcessWorkingSetWatch
,
watchinfo
,
size
,
NULL
);
if
(
status
)
{
SetLastError
(
RtlNtStatusToDosError
(
status
)
);
return
FALSE
;
}
return
TRUE
;
}
/***********************************************************************
* K32InitializeProcessForWsWatch (KERNEL32.@)
*/
BOOL
WINAPI
K32InitializeProcessForWsWatch
(
HANDLE
process
)
{
FIXME_
(
seh
)(
"(process=%p): stub
\n
"
,
process
);
return
TRUE
;
}
dlls/psapi/psapi.spec
View file @
595521bc
...
...
@@ -19,7 +19,7 @@
@ stdcall GetProcessImageFileNameA(long ptr long) kernel32.K32GetProcessImageFileNameA
@ stdcall GetProcessImageFileNameW(long ptr long) kernel32.K32GetProcessImageFileNameW
@ stdcall GetProcessMemoryInfo(long ptr long) kernel32.K32GetProcessMemoryInfo
@ stdcall GetWsChanges(long ptr long)
@ stdcall InitializeProcessForWsWatch(long)
@ stdcall GetWsChanges(long ptr long)
kernel32.K32GetWsChanges
@ stdcall InitializeProcessForWsWatch(long)
kernel32.K32InitializeProcessForWsWatch
@ stdcall QueryWorkingSet(long ptr long) kernel32.K32QueryWorkingSet
@ stdcall QueryWorkingSetEx(long ptr long) kernel32.K32QueryWorkingSetEx
dlls/psapi/psapi_main.c
View file @
595521bc
...
...
@@ -53,32 +53,3 @@ BOOL WINAPI GetPerformanceInfo( PPERFORMANCE_INFORMATION info, DWORD size )
}
return
TRUE
;
}
/***********************************************************************
* GetWsChanges (PSAPI.@)
*/
BOOL
WINAPI
GetWsChanges
(
HANDLE
process
,
PPSAPI_WS_WATCH_INFORMATION
watchinfo
,
DWORD
size
)
{
NTSTATUS
status
;
TRACE
(
"(%p, %p, %d)
\n
"
,
process
,
watchinfo
,
size
);
status
=
NtQueryInformationProcess
(
process
,
ProcessWorkingSetWatch
,
watchinfo
,
size
,
NULL
);
if
(
status
)
{
SetLastError
(
RtlNtStatusToDosError
(
status
)
);
return
FALSE
;
}
return
TRUE
;
}
/***********************************************************************
* InitializeProcessForWsWatch (PSAPI.@)
*/
BOOL
WINAPI
InitializeProcessForWsWatch
(
HANDLE
hProcess
)
{
FIXME
(
"(hProcess=%p): stub
\n
"
,
hProcess
);
return
TRUE
;
}
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