_com_error::HRESULTToWCode
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at _com_error::HRESULTToWCode.
Microsoft Specific**
Maps 32-bit HRESULT to 16-bit wCode.
static WORD HRESULTToWCode(
HRESULT hr
) throw( );
Parameters
hr
The 32-bit HRESULT to be mapped to 16-bit wCode.
16-bit wCode mapped from the 32-bit HRESULT.
See _com_error::WCode for more information.
END Microsoft Specific
Show: