Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
LoadLibraryShim Function

LoadLibraryShim Function

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.

This function is used to load DLLs that are included in the .NET Framework redistributable package. It does not load user-generated DLLs.

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: MSCorEE.idl

.NET Framework Version: 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2015 Microsoft