Translates an HRESULT value into an error message by using the default culture of the current thread.
This function has been deprecated in the .NET Framework 4.
HRESULT LoadStringRC ( [in] UINT iResourceID, [out] LPWSTR szBuffer, [in] int iMax, [in] int bQuiet );
[in] An HRESULT.
[out] A buffer that contains the error message upon successful completion.
[in] The size of the error message buffer.
This method returns standard Component Object Model (COM) error codes, as defined in WinError.h, in addition to the following values.
|S_OK||The method completed successfully.|
If the method does not complete successfully,
szBuffer contains an empty string.
Platforms: See System Requirements.
Library: MSCorEE.dll and Mscorwks.dll. Use MSCorEE.dll instead of Mscorwks.dll to ensure that you target the correct version of the .NET Framework.
.NET Framework Versions: Available since 2.0