LoadLibraryShim Function
.NET Framework 2.0
Loads a specified version of a DLL that is included in the .NET Framework redistributable package.
HRESULT LoadLibraryShim (
[in] LPCWSTR szDllName,
[in] LPCWSTR szVersion,
LPVOID pvReserved,
[out] HMODULE *phModDll
);
Parameters
- szDllName
-
[in] A zero-terminated string that represents the name of the DLL to be loaded from the .NET Framework library.
- szVersion
-
[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.
- pvReserved
-
Reserved for future use.
- phModDll
-
[out] A pointer to the handle of the module.