DbiValidateProp

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

DbiValidateProp

Return to chapter overview

C syntax

DBIResult DBIFN DbiValidateProp (hObj, iProp, bSetting );

Delphi syntax

function DbiValidateProp (hObj: hDBIObj; iProp: Longint; bSetting: Bool): DBIResult stdcall;

Description

DbiValidateProp validates a property for a specified object handle.

Parameters

hObj                Type: hDBIObj                (Input)
Specifies the object handle.

iProp                Type: UINT32                (Input)
Specifies the property to validate.

bSetting                Type: BOOL                (Input)
Set to TRUE if DbiValidateProp is setting the property; to FALSE if DbiValidateProp is getting the property.

Usage

Use DbiValidateProp to determine whether a given property can be changed or retrieved from the supplied object handle. You can call DbiValidateProp before DbiSetProp and DbiGetProp to determine if a property is valid for a given object.

DbiResult

Meaning

DBIERR_NONE

The data meets all the requirements for the specified property.

DBIERR_NOTSUPPORTED

The property is invalid for the given object.

See also

DbiSetProp, DbiGetProp