VarResultCheck procedure
Check the result of an operation and raise exception if not OK.
Declaration
procedure VarResultCheck(AResult: HRESULT)Arguments
AResult | Result code to check. |
Description
VarResultCheck checks the result
aResult. If it differs from
VAR_OK then an appropriate exception is raised based on the error code.
If a source and destination type
ASourceType and
aDestType are specified they are included in the error message.See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
