_com_error::HRESULTToWCode
Microsoft Specific
Maps 32-bit HRESULT
to 16-bit wCode
.
Syntax
static WORD HRESULTToWCode(
HRESULT hr
) throw();
Parameters
hr
The 32-bit HRESULT
to be mapped to 16-bit wCode
.
Return value
16-bit wCode
mapped from the 32-bit HRESULT
.
Remarks
For more information, see _com_error::WCode
.
END Microsoft Specific
See also
_com_error::WCode
_com_error::WCodeToHRESULT
_com_error
class
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for