BUG: MiniportCheckForHang Handler is Called Repeatedly After System Resume (287136)



The information in this article applies to:

  • Microsoft Windows CE Operating System, Versions 2.12

This article was previously published under Q287136

SYMPTOMS

The MiniportCheckForHang function handler is called repeatedly after a system resume. In some cases, the repeated function call may cause the system to start very slowly after a suspend or resume cycle.

RESOLUTION

Miniport drivers should set the check for hang intervals to 999,999 seconds.

If a timer is needed, the miniport driver should not use the NDIS timer functions. Instead, the miniport driver should use another operating system provided system timer function. You can simulate periodic timer interrupts by using a single shot timer that restarts itself in its timer handler function.

Only NDIS periodic timers do not function correctly, meaning that single shot timers function correctly, so you can use the NdisMSetTimer function. In your timer expiry function you can restart the timer with a call to the NdisMSetTimer function, thereby implementing a pseudo-periodic timer.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

Modification Type:MinorLast Reviewed:12/27/2003
Keywords:kbBug kbfix KB287136