diff options
Diffstat (limited to 'src/client/windows')
-rw-r--r-- | src/client/windows/crash_generation/client_info.cc | 2 | ||||
-rw-r--r-- | src/client/windows/tests/crash_generation_app/crash_generation_app.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/client/windows/crash_generation/client_info.cc b/src/client/windows/crash_generation/client_info.cc index 6d602744..7b90561d 100644 --- a/src/client/windows/crash_generation/client_info.cc +++ b/src/client/windows/crash_generation/client_info.cc @@ -54,7 +54,7 @@ ClientInfo::ClientInfo(CrashGenerationServer* crash_server, } bool ClientInfo::Initialize() { - process_handle_ = OpenProcess(PROCESS_ALL_ACCESS, FALSE, pid_); + process_handle_ = OpenProcess(GENERIC_ALL, FALSE, pid_); if (!process_handle_) { return false; } diff --git a/src/client/windows/tests/crash_generation_app/crash_generation_app.cc b/src/client/windows/tests/crash_generation_app/crash_generation_app.cc index 7ed1021b..a3c560bd 100644 --- a/src/client/windows/tests/crash_generation_app/crash_generation_app.cc +++ b/src/client/windows/tests/crash_generation_app/crash_generation_app.cc @@ -35,7 +35,7 @@ namespace google_breakpad { const int kMaxLoadString = 100; -const wchar_t kPipeName[] = L"\\\\.\\pipe\\GoogleCrashServices\\S-1-5-21-39260824-743453154-142223018-195347"; +const wchar_t kPipeName[] = L"\\\\.\\pipe\\BreakpadCrashServices\\TestServer"; const DWORD kEditBoxStyles = WS_CHILD | WS_VISIBLE | |