_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