..msdn Add comment W32 Constants Translate this page
The CreateProcessWithLogonW function creates a new process and its primary thread. The new process then runs the specified executable file in the security context of the specified credentials (user, domain, and password). It can optionally load the user profile for the specified user.|
DECLARE INTEGER CreateProcessWithLogonW IN Advapi32;
STRING @ lpStartupInfo,;
STRING @ lpProcessInfo
[in] Pointer to a null-terminated string that specifies the name of the user.
[in] Pointer to a null-terminated string that specifies the name of the domain or server whose account database contains the lpUsername account.
[in] Pointer to a null-terminated string that specifies the clear-text password for the lpUsername account.
[in] Logon option.
[in] Pointer to a null-terminated string that specifies the module to execute.
[in] Pointer to a null-terminated string that specifies the command line to execute.
[in] Flags that control how the process is created.
[in] Pointer to an environment block for the new process.
[in] Pointer to a null-terminated string that specifies the current drive and directory for the new process.
[in] Pointer to a STARTUPINFO structure that specifies the window station, desktop, standard handles, and appearance of the main window for the new process.
[out] Pointer to a PROCESS_INFORMATION structure that receives identification information for the new process, including a handle to the process.
|If the function succeeds, the return value is nonzero.|
|The CreateProcessWithLogonW and CreateProcessWithTokenW functions are similar to the CreateProcessAsUser function, except that the caller does not need to call the LogonUser function to authenticate the user and get a token.|
|Word Index links for the CreateProcessWithLogonW :|
|Translate this page:|
Visited in last 7 days: 34
|Created: ||2003-10-30 14:46:43|
|Modified: ||2003-10-30 14:51:14|
Copyright © 2001-2018
Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use.
The information on this page is presented AS IS, meaning that you may use it at your own risk.
Microsoft Visual FoxPro
and Windows are trade marks
of Microsoft Corp.
All other trademarks are the property of their respective owners.
Credits: PHP (4.4.9), an HTML-embedded scripting language,
MySQL (5.6.39), the Open Source standard SQL database,
Version 4, freeware HTML Editor of choice. Hosted by Korax Online Inc.