Reorder parameters in KeInitializeThread()
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
This commit is contained in:
parent
9c74aafe3d
commit
57dee5c535
@ -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
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user