Standard Driver Routines(标准驱动程序)

标准驱动程序

This section describes the required and optional routines that you must implement in your driver to respond to calls from Windows or other drivers.
本节介绍当驱动被Windows或其它驱动程序调用时,为了做出适当的回应,你的驱动必须实现的必需和可选的例程。
When these routines are called, your code must respond to the call and return the appropriate data in a timely manner.
当这些例程被调用时,你的驱动必须及时的做出响应,并返回恰当的数据。
The following routines are required for all drivers:
以下例程是所有驱动都必须实现的:
DriverEntry
AddDevice
DispatchXxx (routines beginning with "Dispatch" such as DispatchCreate)
Unload

The other routines in this section are optional,
but you may need to implement them depending on your driver type and the location of your driver in the device stack.
本节列出的其它例程都是根据你所写驱动的类型以及驱动在设备栈中的位置,你可能要实现的例程。

你可能感兴趣的:(driver)