diff -r 578be2adaf3e -r 307f4279f433 Adaptation/GUID-DD568637-CD37-5E4C-AD78-4AA5AFE1E9D8.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Adaptation/GUID-DD568637-CD37-5E4C-AD78-4AA5AFE1E9D8.dita Fri Oct 15 14:32:18 2010 +0100 @@ -0,0 +1,23 @@ + + + + + +Entry +Point ImplementationMedia driver must implement an entry point function that creates +a PDD factory object that is derived from DPhysicalDevice. +

Because media drivers are implemented as kernel extensions, use the DECLARE_EXTENSION_PDD() macro +as a wrapper around the code that creates your factory object; the following +code fragment is typical:

+DECLARE_EXTENSION_PDD() + { + return new DMyPhysicalDevice; + } +

where DMyPhysicalDevice is an implementation of DPhysicalDevice.

+
\ No newline at end of file