455 <li id="GUID-57FFB715-A05B-5E0D-8354-094018C5AEE5"><p>In this example the |
455 <li id="GUID-57FFB715-A05B-5E0D-8354-094018C5AEE5"><p>In this example the |
456 return value from <xref href="GUID-6FBFA078-8253-3E24-B1F8-5F75E86C3066.dita#GUID-6FBFA078-8253-3E24-B1F8-5F75E86C3066/GUID-D774DE92-6431-374A-A1F6-1C7045BD4FE5"><apiname>RBusLogicalChannel::DoControl()</apiname></xref> is not |
456 return value from <xref href="GUID-6FBFA078-8253-3E24-B1F8-5F75E86C3066.dita#GUID-6FBFA078-8253-3E24-B1F8-5F75E86C3066/GUID-D774DE92-6431-374A-A1F6-1C7045BD4FE5"><apiname>RBusLogicalChannel::DoControl()</apiname></xref> is not |
457 checked. In practice you need to do so. </p> </li> |
457 checked. In practice you need to do so. </p> </li> |
458 </ul> <fig id="GUID-2D81B150-2273-5474-9E33-2C7CE236FAD8"> |
458 </ul> <fig id="GUID-2D81B150-2273-5474-9E33-2C7CE236FAD8"> |
459 <title>Shared chunks implementation</title> |
459 <title>Shared chunks implementation</title> |
460 <image href="GUID-52B8098A-7695-5EA6-B58F-D730A445C583_d0e304519_href.png" placement="inline"/> |
460 <image href="GUID-52B8098A-7695-5EA6-B58F-D730A445C583_d0e310511_href.png" placement="inline"/> |
461 </fig> <p><b> Device driver (kernel) side </b> </p> <p>This is example code |
461 </fig> <p><b> Device driver (kernel) side </b> </p> <p>This is example code |
462 snippet shows the device driver side handling of the request made by the user-side |
462 snippet shows the device driver side handling of the request made by the user-side |
463 to open handles on two shared chunks. </p> <p>The request is handled by the <codeph>OpenIoChunks()</codeph> function |
463 to open handles on two shared chunks. </p> <p>The request is handled by the <codeph>OpenIoChunks()</codeph> function |
464 in the device driver's logical channel. The logical channel is represented |
464 in the device driver's logical channel. The logical channel is represented |
465 by a class derived from <xref href="GUID-E7550422-5121-3393-A85E-BB797969CD2A.dita"><apiname>DLogicalChannelBase</apiname></xref>. In this example, |
465 by a class derived from <xref href="GUID-E7550422-5121-3393-A85E-BB797969CD2A.dita"><apiname>DLogicalChannelBase</apiname></xref>. In this example, |