Sponsors
CreateProcessWithLogon
in Shell
Function name: CreateProcessWithLogon
Defined in : advapi32
Requirements : Windows 2000 or later; Win9x/ME: Not supported
Declaration:
Declare Function CreateProcessWithLogon Lib "Advapi32" Alias "CreateProcessWithLogonW" (ByVal lpUsername As Long, ByVal lpDomain As Long, ByVal lpPassword As Long, ByVal dwLogonFlags As Long, ByVal lpApplicationName As Long, ByVal lpCommandLine As Long, ByVal dwCreationFlags As Long, ByVal lpEnvironment As Long, ByVal lpCurrentDirectory As Long, lpStartupInfo As STARTUPINFO, lpProcessInfo As PROCESS_INFORMATION) As Long
Parameters:
Returns:
Related functions:
Examples:
Sorry, this function has no examples yet.