System.Win.Registry.TRegistry.CheckResult

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function CheckResult(RetVal: Longint): Boolean;

C++

bool __fastcall CheckResult(int RetVal);

Properties

Type Visibility Source Unit Parent
function protected
System.Win.Registry.pas
System.Win.Registry.hpp
System.Win.Registry TRegistry

Description

Checks whether a Windows API call finished successfully or not.

The CheckResult method returns True if the RetVal parameter is equal to zero and False otherwise.

Note: CheckResult is used internally when calling Windows API functions to determine whether they succeeded or not.

See Also