共用方式為


_com_error::HRESULTToWCode

Microsoft 專有的

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

static WORD HRESULTToWCode(
   HRESULT hr 
) throw( );

參數

  • hr
    32 位元HRESULT對應至 16 位元wCode

傳回值

16 位元wCode從 32 位元對應HRESULT

備註

請參閱 _com_error::WCode 如需詳細資訊。

結束 Microsoft 特定

請參閱

參考

_com_error::WCode

_com_error::WCodeToHRESULT

_com_error 類別