_com_error::WCodeToHRESULT

 

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::WCodeToHRESULT.

Microsoft Specific**

Maps 16-bit wCode to 32-bit HRESULT.

  
      static HRESULT WCodeToHRESULT(  
   WORD wCode   
) throw( );  

Parameters

wCode
The 16-bit wCode to be mapped to 32-bit HRESULT.

32-bit HRESULT mapped from the 16-bit wCode.

See the WCode member function.

END Microsoft Specific

_com_error::WCode
_com_error::HRESULTToWCode
_com_error Class

Show: