Share via


GetCORRequiredVersion Function

Gets the required common language runtime (CLR) version number.

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

HRESULT GetCORRequiredVersion (
    [out] LPWSTR   pbuffer,
    [in]  DWORD    cchBuffer,
    [out] DWORD   *dwLength
);

Parameters

  • pbuffer
    [out] A buffer containing a string that specifies the version number.

  • cchBuffer
    [in] The size, in bytes, of the buffer.

  • dwLength
    [out] The number of bytes returned in the buffer.

Requirements

Platforms: See .NET Framework System Requirements.

Header: MSCorEE.h

Library: MSCorEE.dll

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

See Also

Other Resources

.NET Framework 1.1 and 2.0 Hosting Global Static Functions