CreateProcessAsUserA method
int
CreateProcessAsUserA(
- Pointer<
Void> hToken, - Pointer<
Int8> lpApplicationName, - Pointer<
Int8> lpCommandLine, - Pointer<
SECURITY_ATTRIBUTES> lpProcessAttributes, - Pointer<
SECURITY_ATTRIBUTES> lpThreadAttributes, - int bInheritHandles,
- int dwCreationFlags,
- Pointer<
Void> lpEnvironment, - Pointer<
Int8> lpCurrentDirectory, - Pointer<
STARTUPINFOA> lpStartupInfo, - Pointer<
PROCESS_INFORMATION> lpProcessInformation,
Implementation
int CreateProcessAsUserA(
ffi.Pointer<ffi.Void> hToken,
ffi.Pointer<ffi.Int8> lpApplicationName,
ffi.Pointer<ffi.Int8> lpCommandLine,
ffi.Pointer<SECURITY_ATTRIBUTES> lpProcessAttributes,
ffi.Pointer<SECURITY_ATTRIBUTES> lpThreadAttributes,
int bInheritHandles,
int dwCreationFlags,
ffi.Pointer<ffi.Void> lpEnvironment,
ffi.Pointer<ffi.Int8> lpCurrentDirectory,
ffi.Pointer<STARTUPINFOA> lpStartupInfo,
ffi.Pointer<PROCESS_INFORMATION> lpProcessInformation,
) {
return _CreateProcessAsUserA(
hToken,
lpApplicationName,
lpCommandLine,
lpProcessAttributes,
lpThreadAttributes,
bInheritHandles,
dwCreationFlags,
lpEnvironment,
lpCurrentDirectory,
lpStartupInfo,
lpProcessInformation,
);
}