CreateProcessAsUser

Declaration

Declare Function CreateProcessAsUser Lib "advapi32.dll" Alias "CreateProcessAsUserA" (ByVal hToken As Long, ByVal lpApplicationName As String, ByVal lpCommandLine As String, ByVal lpProcessAttributes As SECURITY_ATTRIBUTES, ByVal lpThreadAttributes As SECURITY_ATTRIBUTES, ByVal bInheritHandles As Long, ByVal dwCreationFlags As Long, ByVal lpEnvironment As String, ByVal lpCurrentDirectory As String, ByVal lpStartupInfo As STARTUPINFO, ByVal lpProcessInformation As PROCESS_INFORMATION) As Long

Parameters

hToken

lpApplicationName

lpCommandLine

lpProcessAttributes

lpThreadAttributes

bInheritHandles

dwCreationFlags

lpEnvironment

lpCurrentDirectory

lpStartupInfo

lpProcessInformation

For more Information, contact us via email at info@earlsoft.co.uk.