diff options
author | Mike McLaughlin <mikem@microsoft.com> | 2015-06-25 14:34:08 -0700 |
---|---|---|
committer | Mike McLaughlin <mikem@microsoft.com> | 2015-06-25 14:34:08 -0700 |
commit | 47410104c11569f56bc7ee313e5767cc7baa20b2 (patch) | |
tree | d9fa94a98578fe25176e2a086c0718b975ff6622 /src/pal/src/include/pal/module.h | |
parent | 31ae12be0fe50183036a27e49fe99c6dac67e3ed (diff) | |
download | coreclr-47410104c11569f56bc7ee313e5767cc7baa20b2.tar.gz coreclr-47410104c11569f56bc7ee313e5767cc7baa20b2.tar.bz2 coreclr-47410104c11569f56bc7ee313e5767cc7baa20b2.zip |
Some more pal init cleanup missed in #1174
Diffstat (limited to 'src/pal/src/include/pal/module.h')
-rw-r--r-- | src/pal/src/include/pal/module.h | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/src/pal/src/include/pal/module.h b/src/pal/src/include/pal/module.h index e0986de8e0..ce3eaa978f 100644 --- a/src/pal/src/include/pal/module.h +++ b/src/pal/src/include/pal/module.h @@ -64,14 +64,12 @@ typedef struct _MODSTRUCT struct _MODSTRUCT *prev; } MODSTRUCT; -extern MODSTRUCT exe_module; /*++ Function : LOADInitializeModules - Initialize the process-wide list of modules (2 initial modules : 1 for - the executable and 1 for the PAL) + Initialize the process-wide list of modules Parameters : None @@ -84,6 +82,22 @@ BOOL LOADInitializeModules(); /*++ Function : + LOADSetExeName + + Set the exe name path + +Parameters : + LPWSTR man exe path and name + +Return value : + TRUE if initialization succeedded + FALSE otherwise + +--*/ +BOOL LOADSetExeName(LPWSTR name); + +/*++ +Function : LOADFreeModules Release all resources held by the module manager (including dlopen handles) |