summaryrefslogtreecommitdiff
path: root/src/vm/mscoruefwrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vm/mscoruefwrapper.h')
-rw-r--r--src/vm/mscoruefwrapper.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/vm/mscoruefwrapper.h b/src/vm/mscoruefwrapper.h
new file mode 100644
index 0000000000..75b540c97f
--- /dev/null
+++ b/src/vm/mscoruefwrapper.h
@@ -0,0 +1,19 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+//
+
+//
+//*****************************************************************************
+// MSCorUEFWrapper.h - Wrapper for including the UEF chain manager definition
+// and the global that references it for VM usage.
+//*****************************************************************************
+
+#ifdef FEATURE_UEF_CHAINMANAGER
+
+// This is required to register our UEF callback with the UEF chain manager
+#include <mscoruef.h>
+// Global reference to IUEFManager that will be used in the VM
+extern IUEFManager * g_pUEFManager;
+
+#endif // FEATURE_UEF_CHAINMANAGER