PcUnmapAllocatedPages rule (audio)

The PcUnmapAllocatedPages rule specifies that:

  • A PortCls miniport driver doesn't map an MDL that is currently mapped without first unmapping it.
  • A PortCls miniport driver unmaps the memory prior to freeing it using the IMiniportWaveRTStream interface.

Driver model: Audio

Bug check(s) found with this rule: Bug Check 0xC4: DRIVER_VERIFIER_DETECTED_VIOLATION (0x00071004)

How to test

At run time

To verify this rule, open a Command Prompt window. Enter a Driver Verifier command and specify /domain audio.

For example:

verifier /domain audio [options] /driver <yourdriver>

For more information, see Driver Verifier.