diff -r 4816d766a08a -r f345bda72bc4 Symbian3/PDK/Source/GUID-30978E00-D244-44CD-8F4E-9676DF172A52.dita --- a/Symbian3/PDK/Source/GUID-30978E00-D244-44CD-8F4E-9676DF172A52.dita Tue Mar 30 11:42:04 2010 +0100 +++ b/Symbian3/PDK/Source/GUID-30978E00-D244-44CD-8F4E-9676DF172A52.dita Tue Mar 30 11:56:28 2010 +0100 @@ -1,39 +1,39 @@ - - - - - -Driver-side -HandlingThis document describes how device drivers handle asynchronous -requests. -

Drivers generally implement the DoRequest() function -in the LDD to handle the received asynchronous messages.

-

The implementation reads the request type and other passed arguments, and -initiates handling of the request appropriately.

-

The return value of this function only indicates the status of the message -reception to the driver. It does not actually indicate the request completion -result.

-TInt DExDriverLogicalChannel::DoRequest(TInt aReqNo, TRequestStatus* aStatus, - TAny* a1, TAny* a2) - { - switch (aReqNo) - { - case RExDriverChannel::ERequestTransmitData: - // Call TransmitData function - r = TransmitData ((const TDesC8*)a1); - // The status object is stored - // to be used when notifying the completion of the - // request at a later point. - // - iTxDataStatus = aStatus; - break; - } - return r; - } + + + + + +Driver-side +HandlingThis document describes how device drivers handle asynchronous +requests. +

Drivers generally implement the DoRequest() function +in the LDD to handle the received asynchronous messages.

+

The implementation reads the request type and other passed arguments, and +initiates handling of the request appropriately.

+

The return value of this function only indicates the status of the message +reception to the driver. It does not actually indicate the request completion +result.

+TInt DExDriverLogicalChannel::DoRequest(TInt aReqNo, TRequestStatus* aStatus, + TAny* a1, TAny* a2) + { + switch (aReqNo) + { + case RExDriverChannel::ERequestTransmitData: + // Call TransmitData function + r = TransmitData ((const TDesC8*)a1); + // The status object is stored + // to be used when notifying the completion of the + // request at a later point. + // + iTxDataStatus = aStatus; + break; + } + return r; + }
\ No newline at end of file