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
8d1a8591
Commit
8d1a8591
authored
Sep 20, 2007
by
Carroll Vance
Committed by
Alexandre Julliard
Sep 21, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl.exe: Added PsCreateSystemThread.
parent
50539e71
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletion
+14
-1
ntoskrnl.c
dlls/ntoskrnl.exe/ntoskrnl.c
+13
-0
ntoskrnl.exe.spec
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+1
-1
No files found.
dlls/ntoskrnl.exe/ntoskrnl.c
View file @
8d1a8591
...
...
@@ -477,6 +477,19 @@ void WINAPI MmFreeNonCachedMemory( void *addr, SIZE_T size )
VirtualFree
(
addr
,
0
,
MEM_RELEASE
);
}
/***********************************************************************
* PsCreateSystemThread (NTOSKRNL.EXE.@)
*/
NTSTATUS
WINAPI
PsCreateSystemThread
(
PHANDLE
ThreadHandle
,
ULONG
DesiredAccess
,
POBJECT_ATTRIBUTES
ObjectAttributes
,
HANDLE
ProcessHandle
,
PCLIENT_ID
ClientId
,
PVOID
StartRoutine
,
PVOID
StartContext
)
{
if
(
!
ProcessHandle
)
ProcessHandle
=
GetCurrentProcess
();
return
RtlCreateUserThread
(
ProcessHandle
,
0
,
FALSE
,
0
,
0
,
0
,
StartRoutine
,
StartContext
,
ThreadHandle
,
ClientId
);
}
/***********************************************************************
* PsGetCurrentProcessId (NTOSKRNL.EXE.@)
...
...
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
View file @
8d1a8591
...
...
@@ -843,7 +843,7 @@
@ stub PsChargeProcessPagedPoolQuota
@ stub PsChargeProcessPoolQuota
@ stub PsCreateSystemProcess
@ st
ub PsCreateSystemThread
@ st
dcall PsCreateSystemThread(ptr long ptr long ptr ptr ptr)
@ stub PsDereferenceImpersonationToken
@ stub PsDereferencePrimaryToken
@ stub PsDisableImpersonation
...
...
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