CreateProcessW method
int
CreateProcessW(
- Pointer<
Uint16> lpApplicationName, - Pointer<
Uint16> lpCommandLine, - Pointer<
SECURITY_ATTRIBUTES> lpProcessAttributes, - Pointer<
SECURITY_ATTRIBUTES> lpThreadAttributes, - int bInheritHandles,
- int dwCreationFlags,
- Pointer<
Void> lpEnvironment, - Pointer<
Uint16> lpCurrentDirectory, - Pointer<
STARTUPINFOW> lpStartupInfo, - Pointer<
PROCESS_INFORMATION> lpProcessInformation,
Implementation
int CreateProcessW(
ffi.Pointer<ffi.Uint16> lpApplicationName,
ffi.Pointer<ffi.Uint16> lpCommandLine,
ffi.Pointer<SECURITY_ATTRIBUTES> lpProcessAttributes,
ffi.Pointer<SECURITY_ATTRIBUTES> lpThreadAttributes,
int bInheritHandles,
int dwCreationFlags,
ffi.Pointer<ffi.Void> lpEnvironment,
ffi.Pointer<ffi.Uint16> lpCurrentDirectory,
ffi.Pointer<STARTUPINFOW> lpStartupInfo,
ffi.Pointer<PROCESS_INFORMATION> lpProcessInformation,
) {
return _CreateProcessW(
lpApplicationName,
lpCommandLine,
lpProcessAttributes,
lpThreadAttributes,
bInheritHandles,
dwCreationFlags,
lpEnvironment,
lpCurrentDirectory,
lpStartupInfo,
lpProcessInformation,
);
}