Märkus.
Juurdepääs sellele lehele nõuab autoriseerimist. Võite proovida sisse logida või kausta vahetada.
Juurdepääs sellele lehele nõuab autoriseerimist. Võite proovida kausta vahetada.
The AddDevice rule specifies that the driver's AddDevice routine calls IoAttachDeviceToDeviceStack only after calling IoCreateDevice.
This rule applies only to drivers that have an AddDevice routine.
This rule does not verify that the driver calls IoCreateDevice or IoAttachDeviceToDeviceStack and does not monitor calls to IoCreateDeviceSecure.
Driver model: WDM
How to test
| At compile time |
|---|
Run Static Driver Verifier and specify the AddDevice rule. Use the following steps to run an analysis of your code:
For more information, see Using Static Driver Verifier to Find Defects in Drivers. |