Partager via


_com_error::WCodeToHRESULT

Microsoft Specific

Maps 16-bit wCode to 32-bit HRESULT.

static HRESULT WCodeToHRESULT( 
   WORD wCode  
) throw( );

Parameters

  • wCode
    The 16-bit wCode to be mapped to 32-bit HRESULT.

Return Value

32-bit HRESULT mapped from the 16-bit wCode.

Remarks

See the WCode member function.

END Microsoft Specific

See Also

Reference

_com_error::WCode

_com_error::HRESULTToWCode

_com_error Class