다음을 통해 공유


_com_error::WCodeToHRESULT

 

The latest version of this topic can be found at _com_error::WCodeToHRESULT.

Microsoft Specific**

Maps 16-bit wCode to 32-bit HRESULT.

Syntax

  
      static HRESULT WCodeToHRESULT(  
   WORD wCode   
) throw( );  

Parameters

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

Return Value

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

Remarks

See the WCode member function.

END Microsoft Specific

See Also

_com_error::WCode
_com_error::HRESULTToWCode
_com_error Class