_com_error::WCodeToHRESULT

Microsoft 专用

将 16 位 wCode 映射到 32 位 HRESULT

static HRESULT WCodeToHRESULT( 
   WORD wCode  
) throw( );

参数

  • wCode
    要映射为 32 位 HRESULT 的 16 位 wCode

返回值

已从 16 位 wCode 映射的 32 位 HRESULT

备注

请参阅 WCode 成员函数。

结束 Microsoft 专用

请参见

参考

_com_error::WCode

_com_error::HRESULTToWCode

_com_error 类