Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
7d1cef54
Commit
7d1cef54
authored
Oct 22, 2018
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 22, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Add GetProcessMitigationPolicy() stub.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
0ba95f33
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
3 deletions
+14
-3
api-ms-win-core-processthreads-l1-1-1.spec
...threads-l1-1-1/api-ms-win-core-processthreads-l1-1-1.spec
+1
-1
api-ms-win-core-processthreads-l1-1-2.spec
...threads-l1-1-2/api-ms-win-core-processthreads-l1-1-2.spec
+1
-1
kernel32.spec
dlls/kernel32/kernel32.spec
+1
-0
process.c
dlls/kernel32/process.c
+10
-0
kernelbase.spec
dlls/kernelbase/kernelbase.spec
+1
-1
No files found.
dlls/api-ms-win-core-processthreads-l1-1-1/api-ms-win-core-processthreads-l1-1-1.spec
View file @
7d1cef54
...
...
@@ -22,7 +22,7 @@
@ stdcall GetProcessHandleCount(long ptr) kernel32.GetProcessHandleCount
@ stdcall GetProcessId(long) kernel32.GetProcessId
@ stdcall GetProcessIdOfThread(long) kernel32.GetProcessIdOfThread
@ st
ub
GetProcessMitigationPolicy
@ st
dcall GetProcessMitigationPolicy(long long ptr long) kernel32.
GetProcessMitigationPolicy
@ stdcall GetProcessTimes(long ptr ptr ptr ptr) kernel32.GetProcessTimes
@ stdcall GetProcessVersion(long) kernel32.GetProcessVersion
@ stdcall GetStartupInfoW(ptr) kernel32.GetStartupInfoW
...
...
dlls/api-ms-win-core-processthreads-l1-1-2/api-ms-win-core-processthreads-l1-1-2.spec
View file @
7d1cef54
...
...
@@ -22,7 +22,7 @@
@ stdcall GetProcessHandleCount(long ptr) kernel32.GetProcessHandleCount
@ stdcall GetProcessId(long) kernel32.GetProcessId
@ stdcall GetProcessIdOfThread(long) kernel32.GetProcessIdOfThread
@ st
ub
GetProcessMitigationPolicy
@ st
dcall GetProcessMitigationPolicy(long long ptr long) kernel32.
GetProcessMitigationPolicy
@ stdcall GetProcessPriorityBoost(long ptr) kernel32.GetProcessPriorityBoost
@ stdcall GetProcessTimes(long ptr ptr ptr ptr) kernel32.GetProcessTimes
@ stdcall GetProcessVersion(long) kernel32.GetProcessVersion
...
...
dlls/kernel32/kernel32.spec
View file @
7d1cef54
...
...
@@ -786,6 +786,7 @@
@ stdcall GetProcessId(long)
@ stdcall GetProcessIdOfThread(long)
@ stdcall GetProcessIoCounters(long ptr)
@ stdcall GetProcessMitigationPolicy(long long ptr long)
# @ stub GetProcessPreferredUILanguages
@ stdcall GetProcessPriorityBoost(long ptr)
@ stdcall GetProcessShutdownParameters(ptr ptr)
...
...
dlls/kernel32/process.c
View file @
7d1cef54
...
...
@@ -4701,3 +4701,13 @@ BOOL WINAPI SetProcessMitigationPolicy(PROCESS_MITIGATION_POLICY policy, void *b
return
TRUE
;
}
/**********************************************************************
* GetProcessMitigationPolicy (KERNEL32.@)
*/
BOOL
WINAPI
GetProcessMitigationPolicy
(
HANDLE
hProcess
,
PROCESS_MITIGATION_POLICY
policy
,
void
*
buffer
,
SIZE_T
length
)
{
FIXME
(
"(%p, %u, %p, %lu): stub
\n
"
,
hProcess
,
policy
,
buffer
,
length
);
return
TRUE
;
}
dlls/kernelbase/kernelbase.spec
View file @
7d1cef54
...
...
@@ -631,7 +631,7 @@
# @ stub GetProcessImageFileNameW
# @ stub GetProcessInformation
# @ stub GetProcessMemoryInfo
# @ stub
GetProcessMitigationPolicy
@ stdcall GetProcessMitigationPolicy(long long ptr long) kernel32.
GetProcessMitigationPolicy
@ stub GetProcessPreferredUILanguages
@ stdcall GetProcessPriorityBoost(long ptr) kernel32.GetProcessPriorityBoost
@ stdcall GetProcessShutdownParameters(ptr ptr) kernel32.GetProcessShutdownParameters
...
...
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