Skip to content

Latest commit

 

History

History
68 lines (59 loc) · 1.33 KB

File metadata and controls

68 lines (59 loc) · 1.33 KB
title _com_error::HRESULTToWCode | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
devlang-cpp
ms.tgt_pltfrm
ms.topic language-reference
f1_keywords
HRESULTToWCode
_com_error.HRESULTToWCode
_com_error::HRESULTToWCode
dev_langs
C++
helpviewer_keywords
HRESULTToWCode method
ms.assetid ff3789f5-1047-41a0-b7e3-86dd8f638dba
caps.latest.revision 6
author mikeblome
ms.author mblome
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

_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

See _com_error::WCode for more information.

END Microsoft Specific

See Also

_com_error::WCode
_com_error::WCodeToHRESULT
_com_error Class