TwclIrDAReceiver.QueryAttribute(Cardinal,string,string,TwclIrDAAttribute) Method

Querys an IrDA IAS attribute value.

Namespace: wclIrDADevices
public
 function QueryAttribute(const Address: Cardinal; const ClassName: string;
 const AttributeName: string; out Attribute: TwclIrDAAttribute): Integer;

Parameters

Address
Type: Cardinal

An IrDA device's address.

ClassName
Type: string

The IAS attribute's class name.

AttributeName
Type: string

The IAS attribute's name.

Attribute
Type: TwclIrDAAttribute

On output contains the attribute's value.

Return Value

Type: Integer

If the function succeed the return value is wclErrors.WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.