RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Variants.VarAsError Function

Converts a HRESULT into an Error variant.

Pascal
function VarAsError(AResult: HRESULT): Variant;
C++
Variant VarAsError(HRESULT AResult);

Variants

VarAsError converts an HRESULT result code into an equivalent variant of type varError. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!