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<
LPSTARTUPINFOW> lpStartupInfo, - Pointer<
LPPROCESS_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<LPSTARTUPINFOW> lpStartupInfo,
ffi.Pointer<LPPROCESS_INFORMATION> lpProcessInformation,
) {
return (_CreateProcessWithLogonW ??= _dylib.lookupFunction<
_c_CreateProcessWithLogonW,
_dart_CreateProcessWithLogonW>('CreateProcessWithLogonW'))(
lpUsername,
lpDomain,
lpPassword,
dwLogonFlags,
lpApplicationName,
lpCommandLine,
dwCreationFlags,
lpEnvironment,
lpCurrentDirectory,
lpStartupInfo,
lpProcessInformation,
);
}