CallFunctionShim Function

Makes a call to the function that has the specified name and parameters in the specified library.

This function has been deprecated in the .NET Framework 4.

Syntax

HRESULT CallFunctionShim (  
    [in] LPCWSTR     szDllName,  
    [in] LPCSTR      szFunctionName,  
    [in] LPVOID      lpvArgument1,  
    [in] LPVOID      lpvArgument2,  
    [in] LPCWSTR     szVersion,  
    [in] LPVOID      pvReserved  
);  

Parameters

szDllName
[in] The name of the library containing the function.

szFunctionName
[in] The name of the function.

lpvArgument1
[in] The first argument to pass to the function.

lpvArgument2
[in] The second argument to pass to the function.

szVersion
[in] The version of the library that contains the function.

pvReserved
[in] Reserved for future use. Pass zero in this parameter.

Requirements

Platforms: See System Requirements.

Header: MSCorEE.h

Library: MSCorEE.dll

.NET Framework Versions: Available since 1.0

See also