Wince driver development-Driver Model

Source: Internet
Author: User

From: http://blog.sina.com.cn/s/blog_62714d6a0100m3ox.html

Driver Model diagram: 

 

Driver Model

 Comparison: WDM ----- Windows Driver Model (Windows Device Driver Model)

PC Driver Model ------There are at least two drivers:

       1. The function driver, that is, the hardware device driver. It understands the hardware details and is responsible for initializing I/O operations.

       2. The bus driver is responsible for managing the connection with the computer.

Wince Driver Model ------ at least two drivers:

       1. Driver Model of local device

           Function Description: Drive to the keyboard, touch screen, power supply, etc. These are the basis for machine operation and are closely integrated with OS.

                     You can use custom interfaces to support internal device drivers, but most developers do not need

        2. Stream interface driver model

            Description: The driver related to the stream interface. In wince, a stream interface is a set of operating system-defined functions,

                      Is an abstraction of a specific "Data Stream" Property device. Generally, the stream interface driver implements these interfaces.

                      For the Device Manager to call. If the application needs to access the stream interface driver,

                      Generally, access through the file system ???

Important DLL files:

       In wince, no matter which driver model is used, the physical performance of the driver is a DLL (dynamic link library file ).

  The Dynamic Link Library has always been the basis of the Windows operating system, and wince is no exception. The core part of the DLL is three DLL files:

      Kerner. dll    Role: Manage memory, processes, and threads

       Filesys. dll  Manages Object Storage and file systems in wince. Such as the FAT file system driver and the CDFs file system driver.

      Device. dll    Role: Device Manager, responsible for loading and managing the vast majority of Device Drivers: Nic, battery, sound card,

                            Serial Port, nled, USB driver, PCMCIA driver, etc.

 

               Comparison: the dynamic link library of Windows operating system on PC is also composed of three core DLL files:

                 Kerner32.dll manages memory, processes, and threads

                 User32.dll executes tasks related to the user interface, such as creating a window and sending a message

                 Gdi32.dll

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.