CreateProcessWithLogonW method
int
CreateProcessWithLogonW(
- Pointer<
Uint16> lpUsername, - Pointer<
Uint16> lpDomain, - Pointer<
Uint16> lpPassword, - int dwLogonFlags,
- Pointer<
Uint16> lpApplicationName, - Pointer<
Uint16> lpCommandLine, - int dwCreationFlags,
- Pointer<
Void> lpEnvironment, - Pointer<
Uint16> lpCurrentDirectory, - Pointer<
STARTUPINFOW> lpStartupInfo, - Pointer<
PROCESS_INFORMATION> lpProcessInformation,
Implementation
int CreateProcessWithLogonW(
ffi.Pointer<ffi.Uint16> lpUsername,
ffi.Pointer<ffi.Uint16> lpDomain,
ffi.Pointer<ffi.Uint16> lpPassword,
int dwLogonFlags,
ffi.Pointer<ffi.Uint16> lpApplicationName,
ffi.Pointer<ffi.Uint16> lpCommandLine,
int dwCreationFlags,
ffi.Pointer<ffi.Void> lpEnvironment,
ffi.Pointer<ffi.Uint16> lpCurrentDirectory,
ffi.Pointer<STARTUPINFOW> lpStartupInfo,
ffi.Pointer<PROCESS_INFORMATION> lpProcessInformation,
) {
return _CreateProcessWithLogonW(
lpUsername,
lpDomain,
lpPassword,
dwLogonFlags,
lpApplicationName,
lpCommandLine,
dwCreationFlags,
lpEnvironment,
lpCurrentDirectory,
lpStartupInfo,
lpProcessInformation,
);
}