Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(458)

Unified Diff: remoting/host/win/elevated_controller_entry_point.cc

Issue 12189013: Relanding r180433, now without build/some.gyp. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/win/elevated_controller.rc ('k') | remoting/host/win/elevated_controller_module.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/win/elevated_controller_entry_point.cc
diff --git a/remoting/host/win/elevated_controller_entry_point.cc b/remoting/host/win/elevated_controller_entry_point.cc
new file mode 100644
index 0000000000000000000000000000000000000000..747ff4de5de9cd572d1ab378e1d7deb9df491b11
--- /dev/null
+++ b/remoting/host/win/elevated_controller_entry_point.cc
@@ -0,0 +1,14 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include <windows.h>
+
+#include "remoting/host/win/elevated_controller_module.h"
+
+// The entry point of the elevated controller binary. In order to be really
+// small the app doesn't link against the CRT.
+void ElevatedControllerEntryPoint() {
+ int exit_code = remoting::ElevatedControllerMain();
+ ExitProcess(exit_code);
+}
« no previous file with comments | « remoting/host/win/elevated_controller.rc ('k') | remoting/host/win/elevated_controller_module.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698