共用方式為


_com_error::WCodeToHRESULT

Microsoft 特定的

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

static HRESULT WCodeToHRESULT( 
   WORD wCode  
) throw( );

參數

  • wCode
    要對應到 32 位元 HRESULT 的 16 位元 wCode

傳回值

從 16 位元 wCode 對應過來的 32 位元 HRESULT

備註

請參閱 WCode 成員函式。

END Microsoft 特定的

請參閱

參考

_com_error::WCode

_com_error::HRESULTToWCode

_com_error 類別