CallFunctionShim Function

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

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 .NET Framework System Requirements.

Header: MSCorEE.idl

Library: MSCorEE.dll

.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

See Also

Other Resources

Hosting Global Static Functions