次の方法で共有


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: Windows 2000, Windows XP, Windows Server 2003 family

Header: MSCorEE.idl

Library: MSCorEE.dll

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Other Resources

Hosting Global Static Functions