ntoskrnl.exe: Added PsCreateSystemThread.
This commit is contained in:
parent
50539e7115
commit
8d1a85914a
|
@ -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.@)
|
||||
|
|
|
@ -843,7 +843,7 @@
|
|||
@ stub PsChargeProcessPagedPoolQuota
|
||||
@ stub PsChargeProcessPoolQuota
|
||||
@ stub PsCreateSystemProcess
|
||||
@ stub PsCreateSystemThread
|
||||
@ stdcall PsCreateSystemThread(ptr long ptr long ptr ptr ptr)
|
||||
@ stub PsDereferenceImpersonationToken
|
||||
@ stub PsDereferencePrimaryToken
|
||||
@ stub PsDisableImpersonation
|
||||
|
|
Loading…
Reference in New Issue