_com_error::HRESULTToWCode

Microsoft 专用

将 32 位 HRESULT 映射到 16 位 wCode

语法

static WORD HRESULTToWCode(
   HRESULT hr
) throw();

参数

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

返回值

已从 32 位 wCode 映射的 16 位 HRESULT

备注

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

结束 Microsoft 专用

另请参阅

_com_error::WCode
_com_error::WCodeToHRESULT
_com_error