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); |
+} |