System.VarUtils.VarExceptionToResult
Delphi
function VarExceptionToResult(const E: Exception): HRESULT;
C++
extern DELPHI_PACKAGE HRESULT __fastcall VarExceptionToResult(System::Sysutils::Exception* const E);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.VarUtils.pas System.VarUtils.hpp |
System.VarUtils | System.VarUtils |
Description
Converts an Exception type argument to an HResult type.
VarExceptionToResult is an internal routine that converts the value given through E from an Exception type to an HResult type.