Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.