CreateProcessW method

int CreateProcessW(
  1. Pointer<Uint16> lpApplicationName,
  2. Pointer<Uint16> lpCommandLine,
  3. Pointer<SECURITY_ATTRIBUTES> lpProcessAttributes,
  4. Pointer<SECURITY_ATTRIBUTES> lpThreadAttributes,
  5. int bInheritHandles,
  6. int dwCreationFlags,
  7. Pointer<Void> lpEnvironment,
  8. Pointer<Uint16> lpCurrentDirectory,
  9. Pointer<STARTUPINFOW> lpStartupInfo,
  10. 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,
  );
}