_com_error::WCodeToHRESULT

Microsoft Specific

Maps 16-bit wCode to 32-bit HRESULT.

Syntax

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

_com_error::WCode
_com_error::HRESULTToWCode
_com_error class