Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 931 Bytes

com-error-wcodetohresult.md

File metadata and controls

42 lines (29 loc) · 931 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: _com_error::WCodeToHRESULT
_com_error::WCodeToHRESULT
11/17/2022
COMDEF/_com_error::WCodeToHRESULT
_com_error::WCodeToHRESULT
_com_error WCodeToHRESULT method [C++]
0ec43a4b-ca91-42d5-b270-3fde9c8412ea

_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