summaryrefslogtreecommitdiff
path: root/src/debug/inc/debug-pal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug/inc/debug-pal.h')
-rw-r--r--src/debug/inc/debug-pal.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/debug/inc/debug-pal.h b/src/debug/inc/debug-pal.h
new file mode 100644
index 0000000000..90cf0c822e
--- /dev/null
+++ b/src/debug/inc/debug-pal.h
@@ -0,0 +1,16 @@
+//
+// Copyright (c) Microsoft. All rights reserved.
+// Licensed under the MIT license. See LICENSE file in the project root for full license information.
+//
+
+
+#ifndef Debug_PAL_H
+#define Debug_PAL_H
+
+#if defined(FEATURE_PAL)
+// This function looks for a dynamic module (libraryName) loaded into the process specified (pId)
+// and returns its load address. NULL is module is not loaded.
+void *GetDynamicLibraryAddressInProcess(DWORD pid, const char *libraryName);
+#endif
+
+#endif //Debug_PAL_H \ No newline at end of file