Searched refs:desktop_name (Results 1 - 7 of 7) sorted by relevance

/external/chromium_org/sandbox/win/tests/validation_tests/
H A Dcommands.h40 int TestOpenAlternateDesktop(wchar_t *desktop_name);
H A Dsuite.cc133 base::string16 desktop_name = runner.GetPolicy()->GetAlternateDesktop(); local
134 desktop_name = desktop_name.substr(desktop_name.find('\\') + 1);
135 wsprintf(command, L"OpenAlternateDesktop %lS", desktop_name.c_str());
H A Dcommands.cc258 int TestOpenAlternateDesktop(wchar_t *desktop_name) { argument
279 if ((desktop = ::OpenDesktop(desktop_name, 0, FALSE, WRITE_DAC)) ||
288 BOOL CALLBACK DesktopTestEnumProc(LPTSTR desktop_name, LPARAM result) { argument
/external/chromium_org/remoting/host/win/
H A Dlaunch_process_with_token.h41 const char16* desktop_name,
H A Dlaunch_process_with_token.cc293 const char16* desktop_name) {
317 if (desktop_name)
318 desktop = desktop_name;
376 const char16* desktop_name,
386 creation_flags, desktop_name)) {
459 const char16* desktop_name,
467 if (desktop_name)
468 startup_info.lpDesktop = const_cast<char16*>(desktop_name);
504 desktop_name,
288 SendCreateProcessRequest( HANDLE pipe, const base::FilePath::StringType& application_name, const CommandLine::StringType& command_line, DWORD creation_flags, const char16* desktop_name) argument
371 CreateRemoteSessionProcess( uint32 session_id, const base::FilePath::StringType& application_name, const CommandLine::StringType& command_line, DWORD creation_flags, const char16* desktop_name, PROCESS_INFORMATION* process_information_out) argument
452 LaunchProcessWithToken(const base::FilePath& binary, const CommandLine::StringType& command_line, HANDLE user_token, SECURITY_ATTRIBUTES* process_attributes, SECURITY_ATTRIBUTES* thread_attributes, bool inherit_handles, DWORD creation_flags, const char16* desktop_name, ScopedHandle* process_out, ScopedHandle* thread_out) argument
/external/chromium_org/sandbox/win/src/
H A Dpolicy_target_test.cc259 base::string16 desktop_name = policy->GetAlternateDesktop(); local
260 HDESK desk = ::OpenDesktop(desktop_name.c_str(), 0, FALSE, DESKTOP_ENUMERATE);
273 desk = ::OpenDesktop(desktop_name.c_str(), 0, FALSE, DESKTOP_ENUMERATE);
322 base::string16 desktop_name = policy->GetAlternateDesktop(); local
323 ASSERT_FALSE(desktop_name.empty());
326 EXPECT_NE(desktop_name.find_first_of(L'\\'), base::string16::npos);
329 desktop_name = desktop_name.substr(desktop_name.find_first_of(L'\\') + 1);
331 HDESK desk = ::OpenDesktop(desktop_name
[all...]
H A Dwindow.cc59 base::string16 desktop_name = L"sbox_alternate_desktop_"; local
65 desktop_name += buffer;
89 *desktop = ::CreateDesktop(desktop_name.c_str(), NULL, NULL, 0, GENERIC_ALL,

Completed in 168 milliseconds