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 KsMarkPendingIrp rule specifies that a kernel-stream (KS) miniport driver should mark IRPs as pending when returning with STATUS_PENDING from the following callback functions:
- AVStrMiniFilterClose
- AVStrMiniPinClose
- AVStrMiniPinCreate
To mark the IRP as pending, use the IoMarkIrpPending routine.
Driver model: KS
Bug check(s) found with this rule: Bug Check 0xC4: DRIVER_VERIFIER_DETECTED_VIOLATION (0x00081008)
How to test
| At compile time |
|---|
Run Static Driver Verifier and specify the KsMarkPendingIrp 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. |
| At run time |
|---|
To verify this rule, open a Command Prompt window. Enter a Driver Verifier command and specify /domain ks. For example: verifier /domain ks [options] /driver <yourdriver> For more information, see Driver Verifier. |