共用方式為


_com_error::WCodeToHRESULT

Microsoft 特定的

將 16 位元的 wCode 對應至 32 位元的 HRESULT

語法

static HRESULT WCodeToHRESULT(
   WORD wCode
) throw();

參數

wCode
要對應至 32 位 的 16 位 wCodeHRESULT

傳回值

32 位,從16位 HRESULTwCode對應。

備註

WCode請參閱成員函式。

END Microsoft 特定的

另請參閱

_com_error::WCode
_com_error::HRESULTToWCode
_com_error 類別