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);

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

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!