不同点:
First, LoadLibraryEx can map a DLL module without calling the DllMain function of the DLL.
Second, LoadLibraryEx can load a module in a way that is optimized for the case where the module is never executed, loading the module as if it were a data file.
相同点:
You select these optional behaviors by setting the dwFlags parameter; if dwFlags is zero, LoadLibraryEx behaves identically to LoadLibrary.
本文探讨了LoadLibraryEx与LoadLibrary两个Windows API函数之间的区别。LoadLibraryEx可以加载DLL而不调用其DllMain函数,并能以优化方式加载不执行的模块。通过设置dwFlags参数可以选择这些行为,当dwFlags为零时,LoadLibraryEx的行为与LoadLibrary相同。
803

被折叠的 条评论
为什么被折叠?



