diff -r ebc84c812384 -r 46218c8b8afa Symbian3/PDK/Source/GUID-D207C135-EF02-4D1A-A48C-4AB8C6703496-GENID-1-7-1-14-1-1-7-1-4-1-1-4-1-4-1.dita --- a/Symbian3/PDK/Source/GUID-D207C135-EF02-4D1A-A48C-4AB8C6703496-GENID-1-7-1-14-1-1-7-1-4-1-1-4-1-4-1.dita Thu Mar 11 15:24:26 2010 +0000 +++ b/Symbian3/PDK/Source/GUID-D207C135-EF02-4D1A-A48C-4AB8C6703496-GENID-1-7-1-14-1-1-7-1-4-1-1-4-1-4-1.dita Thu Mar 11 18:02:22 2010 +0000 @@ -1,41 +1,41 @@ - - - - - -Device -Driver StructureThis document describes the structures used to implement device -drivers as LDDs and PDDs. -

Both LDDs and PDDs are DLLs.

-

They implement a specific interface that allows the kernel to initialise -them, and for user-side code to communicate with them.

-

An LDD must implement:

- -

A PDD must implement:

- + + + + + +Device +Driver StructureThis document describes the structures used to implement device +drivers as LDDs and PDDs. +

Both LDDs and PDDs are DLLs.

+

They implement a specific interface that allows the kernel to initialise +them, and for user-side code to communicate with them.

+

An LDD must implement:

+
    +
  • A DLogicalChannel or DLogicalChannelBase derived +class, representing the logical channel, which handles user requests.

  • +
  • A DLogicalDevice derived +class, which provides a factory for the logical channel objects, called the +LDD factory.

  • +
  • A DLL entry point function +at ordinal 1, which constructs the LDD factory object.

    It is possible +that a device driver is also an extension, in which case the entry point will +also be used for extension initialisation.

  • +
+

A PDD must implement:

+
    +
  • A DBase derived +class representing the physical channel, which is the interface between the +logical device and the physical device.

  • +
  • A DPhysicalDevice derived +class, which provides a factory for the physical channel objects, called the +PDD factory.

  • +
  • A DLL entry point function +at ordinal 1, which constructs the PDD factory object.

  • +
\ No newline at end of file