summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2016-04-15 16:58:36 -0700
committerJan Kotas <jkotas@microsoft.com>2016-04-15 16:58:36 -0700
commit861e76a3b7c0b0cf1d6fbd6eb456a975c2ec9148 (patch)
treea350a690bc05e46066a9331d527cc8e17a9e6f96 /src
parentc3271f108c8db5747b7b0d20857ab0de3e3d0c09 (diff)
parent45dc0a07259473acedce2dfa2d0843accf8929e5 (diff)
downloadcoreclr-861e76a3b7c0b0cf1d6fbd6eb456a975c2ec9148.tar.gz
coreclr-861e76a3b7c0b0cf1d6fbd6eb456a975c2ec9148.tar.bz2
coreclr-861e76a3b7c0b0cf1d6fbd6eb456a975c2ec9148.zip
Merge pull request #4369 from mikedn/msgbox
Always try to load user32 instead of ntuser api set
Diffstat (limited to 'src')
-rw-r--r--src/inc/winwrap.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/inc/winwrap.h b/src/inc/winwrap.h
index eb7d522727..47624a3290 100644
--- a/src/inc/winwrap.h
+++ b/src/inc/winwrap.h
@@ -978,14 +978,8 @@ inline int LateboundMessageBoxW(HWND hWnd,
UINT uType)
{
#ifndef FEATURE_PAL
-#if defined(FEATURE_CORESYSTEM) && !defined(CROSSGEN_COMPILE)
- // Some CoreSystem OSs will support MessageBoxW via an extension library. The following technique is what
- // was recommeded by Philippe Joubert from the CoreSystem team.
- HMODULE hGuiExtModule = WszLoadLibrary(W("ext-ms-win-ntuser-gui-l1"), NULL, 0);
-#else
- // Outside of CoreSystem, MessageBoxW lives in User32
+ // User32 should exist on all systems where displaying a message box makes sense.
HMODULE hGuiExtModule = WszLoadLibrary(W("user32"));
-#endif
if (hGuiExtModule)
{
int result = IDCANCEL;