diff -r 89d6a7a84779 -r 25a17d01db0c Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_r_driver1.html
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_r_driver1.html Fri Jan 22 18:26:19 2010 +0000
@@ -0,0 +1,293 @@
+
+
+TB10.1 Example Applications: RDriver1 Class Reference
+
+
+
+
+RDriver1 Class Reference
+
+List of all members.
+Detailed Description
+User interface for 'Driver1'
+Definition at line 35 of file driver1.h .
+Member Function Documentation
+
+
+
+
+
+ TInt RDriver1::Open
+ (
+
+ )
+
+
+
+
+
+
+
+Opens a logical channel to the driver
Returns: One of the system wide error codes.
+
+
Definition at line 129 of file driver1.h .
+
+
+
+
+
+
+
+
+ TInt RDriver1::GetConfig
+ (
+ TConfigBuf &
+ aConfig
+ )
+
+
+
+
+
+
+
+Gets the current configuration settings.
Parameters:
+
+ aConfig A structure which will be filled with the configuration settings.
+
+
+
Returns: KErrNone if successful, otherwise one of the other system wide error codes.
+
+
Definition at line 139 of file driver1.h .
+
+
+
+
+
+
+
+
+ TInt RDriver1::SetConfig
+ (
+ const TConfigBuf &
+ aConfig
+ )
+
+
+
+
+
+
+
+Sets the current configuration settings.
Parameters:
+
+ aConfig The new configuration settings to be used.
+
+
+
Returns: KErrInUse if there are outstanding data transfer requests. KErrArgument if any configuration values are invalid. KErrNone otherwise
+
+
Definition at line 151 of file driver1.h .
+
+
+
+
+
+
+
+
+ void RDriver1::SendData
+ (
+ TRequestStatus &
+ aStatus ,
+
+
+
+
+ const TDesC8 &
+ aData
+
+
+
+ )
+
+
+
+
+
+
+
+Sends data to the device. Only one send request may be pending at any time.
Parameters:
+
+ aStatus The request to be signalled when the data has been sent. The return value will be set to KErrNone on success; or to one of the system wide error codes when an error occurs.
+ aData A descriptor containing the data to be sent.
+
+
+
+
Definition at line 164 of file driver1.h .
+
+
+
+
+
+
+
+
+ void RDriver1::SendDataCancel
+ (
+
+ )
+
+
+
+
+
+
+
+Cancels a previous SendData request.
+
Definition at line 172 of file driver1.h .
+
+
+
+
+
+
+
+
+ void RDriver1::ReceiveData
+ (
+ TRequestStatus &
+ aStatus ,
+
+
+
+
+ TDes8 &
+ aBuffer
+
+
+
+ )
+
+
+
+
+
+
+
+Receives data from the device. Only one receive request may be pending at any time.
Parameters:
+
+ aStatus The request to be signalled when the data has been received. The return value will be set to KErrNone on success; or to one of the system wide error codes when an error occurs.
+ aBuffer A descriptor to which the received data will be written.
+
+
+
+
Definition at line 185 of file driver1.h .
+
+
+
+
+
+
+
+
+ void RDriver1::ReceiveDataCancel
+ (
+
+ )
+
+
+
+
+
+
+
+
+
+
+
+ const TDesC & RDriver1::Name
+ (
+
+ )
+ [static]
+
+
+
+
+
+
+Gets the driver's name.
Returns: The name of the driver
+
+
Definition at line 100 of file driver1.h .
+
+
+
+
+
+
+
+
+ TVersion RDriver1::VersionRequired
+ (
+
+ )
+ [static]
+
+
+
+
+
+
+Gets the driver's version.
Returns: The version number of the driver
+
+
Definition at line 110 of file driver1.h .
+
+
+
+
Generated on Thu Jan 21 10:33:08 2010 for TB10.1 Example Applications by
+
+ 1.5.3
+
+