VarAsError function
Create an error-typed variant.
Declaration
function VarAsError(AResult: HRESULT): VariantArguments
AResult | Error code to store in the variant/. |
Function result
The new error-typed variant.
Description
VarAsError creates an error-typed variant with value
aResult.Errors
None.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
