_com_error::HRESULTToWCode

Microsoft Specific

static WORD HRESULTToWCode( HRESULT hr ) throw( );

Return Value

16-bit wCode mapped from the 32-bit HRESULT

Parameters

hr

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

Remarks

Performs 32-bit HRESULT to 16-bit wCode mapping. See _com_error::WCode for more information.

See Also   _com_error::WCode, _com_error::WCodeToHRESULT, _com_error Overview

END Microsoft Specific