_com_error::HRESULTToWCode

Microsoft 专用

将 32 位 HRESULT 映射到 16 位 wCode

static WORD HRESULTToWCode( 
   HRESULT hr  
) throw( );

参数

  • hr
    要映射到 16 位 wCode 的 32 位 HRESULT

返回值

已从 32 位 HRESULT 映射的 16 位 wCode

备注

有关详细信息,请参阅 _com_error::WCode

结束 Microsoft 专用

请参见

参考

_com_error::WCode

_com_error::WCodeToHRESULT

_com_error 类