次の方法で共有


UnhookInterrupt

This function deregisters an ISR with a specific hardware interrupt.

  BOOL UnhookInterrupt (
INT 
  hwInterruptNumber
  ,
FARPROC 
  pfnHandler 
  );

Parameters

  • hwInterruptNumber
    Hardware interrupt line. Note that this value indicates the actual hardware IRQ value and not the logical interrupt identifier.
  • pfnHandler
    Pointer to the ISR that is to handle interrupts for the specified IRQ.

Return Values

TRUE indicates success; FALSE indicates failure.

Remarks

This function removes the pfnHandler pointer from the location in a kernel table indicated by hwInterruptNumber and, instead, installs a dummy handler at this location.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 2.10 and later Nkintr.h    

See Also

HookInterrupt