Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: e32std.h
Link against: euser.lib

Class RDevice

class RDevice : public RHandleBase;

Description

User side handle to an LDD factory object, an instance of a DLogicalDevice derived class.

The LDD factory object is a Kernel side object which is constructed on the Kernel heap when the logical device is opened using User::LoadLogicalDevice(). The handle allows the User side to get information about the logical device.

To use the device, a thread must create and use an instance of an RBusLogicalChannel derived class.

Derivation

Members

Defined in RDevice:
GetCaps(), IsAvailable(), Open(), Open(), QueryVersionSupported()

Inherited from RHandleBase:
Attributes(), Close(), Duplicate(), FullName(), Handle(), HandleInfo(), Name(), SetHandle(), SetHandleNC(), SetReturnedHandle(), iHandle


Member functions


Open()

inline TInt Open(const TFindLogicalDevice &aFind, TOwnerType aType=EOwnerProcess);

Description

Parameters

const TFindLogicalDevice &aFind

TOwnerType aType

Return value

TInt


Open()

IMPORT_C TInt Open(const TDesC &aName, TOwnerType aType=EOwnerProcess);

Description

Parameters

const TDesC &aName

TOwnerType aType

Return value

TInt


GetCaps()

IMPORT_C void GetCaps(TDes8 &aDes) const;

Description

Parameters

TDes8 &aDes


QueryVersionSupported()

IMPORT_C TBool QueryVersionSupported(const TVersion &aVer) const;

Description

Parameters

const TVersion &aVer

Return value

TBool


IsAvailable()

IMPORT_C TBool IsAvailable(TInt aUnit, const TDesC *aPhysicalDevice, const TDesC8 *anInfo) const;

Description

Parameters

TInt aUnit

const TDesC *aPhysicalDevice

const TDesC8 *anInfo

Return value

TBool