Updated: April 2011
Gets the appropriate common language runtime (CLR) version information for the class with the specified CLSID.
HRESULT GetRequestedRuntimeVersionForCLSID ( [in] REFCLSID rclsid, [out] LPWSTR pVersion, [in] DWORD cchBuffer, [out] DWORD* dwLength, [in] CLSID_RESOLUTION_FLAGS dwResolutionFlags );
The function returned successfully.
One of the parameters has an invalid type or format.
The pVersion buffer is not large enough to hold the entire version string.
There is no class registered with the specified CLSID.
dwLength is null, or cchBuffer is large enough to hold the version string, but pVersion is null.
Platforms: See .NET Framework System Requirements.
.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1