OEMGetInterrupt (Windows Embedded CE 6.0)

1/5/2010

This function helps implement the IOCTL_HAL_REQUEST_IRQ IOCTL in the OEMIoControl routine.

The PCI bus enumerator also uses this function to request an IRQ for a PCI device.

Syntax

BOOL OEMGetInterrupt(
  PDEVICE_LOCATION pDevLoc, 
  PDWORD Irq
);

Parameters

  • Irq
    [out] IRQ associated with pDevLoc.

Return Value

TRUE indicates success.

FALSE indicates failure.

Remarks

This is platform-specific information. The logical location of the device is required to determine the IRQ.

Most PCI implementations have the four PCI IRQs rotating for each device number. In addition, it is standard for PCI-to-PCI bridges to have device zero's INTA connect to INTA on the upstream side.

Requirements

Header Developer Implemented
Library Developer Implemented
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Optional OAL Functions
IOCTL_HAL_REQUEST_IRQ
OEMIoControl

Other Resources

DEVICE_LOCATION