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

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

Issue 12390060: RdpDesktopSession COM class should only use raw interfaces. (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/chromoting_lib_idl.templ ('k') | remoting/host/win/rdp_desktop_session.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/win/core.cc
diff --git a/remoting/host/win/core.cc b/remoting/host/win/core.cc
index aeeb457de07c87c1c7f6ed719eeca32bd578bd1b..461e4a8fd64b8bc378b38fc94a53b8a417769569 100644
--- a/remoting/host/win/core.cc
+++ b/remoting/host/win/core.cc
@@ -4,9 +4,15 @@
#include <windows.h>
+// PsDllMain is the entry point of the proxy/stub code generated by MIDL.
+extern "C" BOOL WINAPI PsDllMain(HINSTANCE instance,
+ DWORD reason,
+ void* reserved);
+
BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void* reserved) {
if (reason == DLL_PROCESS_ATTACH)
DisableThreadLibraryCalls(instance);
- return TRUE;
+ // Initialize the proxy/stub code as well.
+ return PsDllMain(instance, reason, reserved);
}
« no previous file with comments | « remoting/host/win/chromoting_lib_idl.templ ('k') | remoting/host/win/rdp_desktop_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698