Reorder parameters in KeInitializeThread()
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Rafal Kupiec 2023-02-24 22:29:38 +01:00
parent 9c74aafe3d
commit 57dee5c535
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
2 changed files with 11 additions and 11 deletions

View File

@ -22,14 +22,14 @@ KeInitializeProcess(IN OUT PKPROCESS Process,
XTAPI XTAPI
XTSTATUS XTSTATUS
KeInitializeThread(IN PKTHREAD Thread, KeInitializeThread(IN PKPROCESS Process,
IN PVOID Stack, IN OUT PKTHREAD Thread,
IN PKSYSTEM_ROUTINE SystemRoutine, IN PKSYSTEM_ROUTINE SystemRoutine,
IN PKSTART_ROUTINE StartRoutine, IN PKSTART_ROUTINE StartRoutine,
IN PVOID StartContext, IN PVOID StartContext,
IN PCONTEXT Context, IN PCONTEXT Context,
IN PVOID EnvironmentBlock, IN PVOID EnvironmentBlock,
IN PKPROCESS Process); IN PVOID Stack);
XTAPI XTAPI
VOID VOID

View File

@ -12,12 +12,12 @@
/** /**
* Initializes the thread. * Initializes the thread.
* *
* @param Process
* Supplies a pointer to the process that owns the thread.
*
* @param Thread * @param Thread
* Supplies a pointer to thread that will be initialized. * Supplies a pointer to thread that will be initialized.
* *
* @param Stack
* Supplies a pointer to the stack of the thread.
*
* @param SystemRoutine * @param SystemRoutine
* Supplies a pointer to the routine called during first scheduling. * Supplies a pointer to the routine called during first scheduling.
* *
@ -33,8 +33,8 @@
* @param EnvironmentBlock * @param EnvironmentBlock
* Supplies a pointer to the environment block of the thread. * Supplies a pointer to the environment block of the thread.
* *
* @param Process * @param Stack
* Supplies a pointer to the process that owns the thread. * Supplies a pointer to the stack of the thread.
* *
* @return This routine returns a status code. * @return This routine returns a status code.
* *
@ -42,14 +42,14 @@
*/ */
XTAPI XTAPI
XTSTATUS XTSTATUS
KeInitializeThread(IN PKTHREAD Thread, KeInitializeThread(IN PKPROCESS Process,
IN PVOID Stack, IN OUT PKTHREAD Thread,
IN PKSYSTEM_ROUTINE SystemRoutine, IN PKSYSTEM_ROUTINE SystemRoutine,
IN PKSTART_ROUTINE StartRoutine, IN PKSTART_ROUTINE StartRoutine,
IN PVOID StartContext, IN PVOID StartContext,
IN PCONTEXT Context, IN PCONTEXT Context,
IN PVOID EnvironmentBlock, IN PVOID EnvironmentBlock,
IN PKPROCESS Process) IN PVOID Stack)
{ {
PKWAIT_BLOCK TimerWaitBlock; PKWAIT_BLOCK TimerWaitBlock;
BOOLEAN Allocation; BOOLEAN Allocation;