mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
make CreateProcessAsUser() call CreateProcess() as we don't support user login
svn path=/trunk/; revision=6873
This commit is contained in:
parent
f32217a0af
commit
ab4deea68c
1 changed files with 10 additions and 2 deletions
|
@ -805,7 +805,11 @@ CreateProcessAsUserA (
|
||||||
LPPROCESS_INFORMATION lpProcessInformation
|
LPPROCESS_INFORMATION lpProcessInformation
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return(FALSE);
|
/* redirect call to CreateProcess() as long as we don't support user logins */
|
||||||
|
return CreateProcessA(lpApplicationName, lpCommandLine, lpProcessAttributes,
|
||||||
|
lpThreadAttributes, bInheritHandles, dwCreationFlags,
|
||||||
|
lpEnvironment, lpCurrentDirectory, lpStartupInfo,
|
||||||
|
lpProcessInformation);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -1002,7 +1006,11 @@ CreateProcessAsUserW (
|
||||||
LPPROCESS_INFORMATION lpProcessInformation
|
LPPROCESS_INFORMATION lpProcessInformation
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return(FALSE);
|
/* redirect call to CreateProcess() as long as we don't support user logins */
|
||||||
|
return CreateProcessW(lpApplicationName, lpCommandLine, lpProcessAttributes,
|
||||||
|
lpThreadAttributes, bInheritHandles, dwCreationFlags,
|
||||||
|
lpEnvironment, lpCurrentDirectory, lpStartupInfo,
|
||||||
|
lpProcessInformation);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue