Gets the appropriate common language runtime (CLR) version information for the class with the specified CLSID.
This function has been deprecated in the .NET Framework 4.
[in] The CLSID of the component.
[out] A buffer that contains the version number string upon successful completion.
[in] The size, in wide characters, of the pVersion buffer.
[out] The length, in bytes, of the returned buffer.
[in] One of the CLSID_RESOLUTION_FLAGS values. The following values are supported:
CLSID_RESOLUTION_DEFAULT: (0x0) Specifies that default interop behavior should be used.
CLSID_RESOLUTION_REGISTERED: (0x1) Specifies that the registry should be searched and shim policy should be applied.
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: Available since 1.1