This documentation is archived and is not being maintained.
Loads a specified version of a DLL that is included in the .NET Framework redistributable package.
HRESULT LoadLibraryShim (
[in] LPCWSTR szDllName,
[in] LPCWSTR szVersion,
[out] HMODULE *phModDll
[in] A zero-terminated string that represents the name of the DLL to be loaded from the .NET Framework library.
[in] A zero-terminated string that represents the version of the DLL to be loaded. If szVersion is null, the latest version of the specified DLL is loaded.
Reserved for future use.
[out] A pointer to the handle of the module.
This function is used to load DLLs that are included in the .NET Framework redistributable package. It does not load user-generated DLLs.