Lines Matching refs:options
107 const LaunchOptions& options,
112 bool inherit_handles = options.inherit_handles;
114 if (options.handles_to_inherit) {
115 if (options.handles_to_inherit->empty()) {
123 if (options.handles_to_inherit->size() >
136 const_cast<HANDLE*>(&options.handles_to_inherit->at(0)),
137 static_cast<DWORD>(options.handles_to_inherit->size() *
148 if (options.empty_desktop_name)
151 startup_info->wShowWindow = options.start_hidden ? SW_HIDE : SW_SHOW;
153 if (options.stdin_handle || options.stdout_handle || options.stderr_handle) {
155 DCHECK(options.stdin_handle);
156 DCHECK(options.stdout_handle);
157 DCHECK(options.stderr_handle);
159 startup_info->hStdInput = options.stdin_handle;
160 startup_info->hStdOutput = options.stdout_handle;
161 startup_info->hStdError = options.stderr_handle;
164 if (options.job_handle) {
173 if (options.force_breakaway_from_job_)
178 if (options.as_user) {
182 if (!CreateEnvironmentBlock(&enviroment_block, options.as_user, FALSE)) {
188 CreateProcessAsUser(options.as_user, NULL,
209 if (options.job_handle) {
210 if (0 == AssignProcessToJobObject(options.job_handle,
220 if (options.wait)
231 const LaunchOptions& options,
234 return LaunchProcess(cmdline.GetCommandLineString(), options, NULL);
237 bool rv = LaunchProcess(cmdline.GetCommandLineString(), options, &process);