OEMGetInterrupt (Windows CE 5.0)
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.
BOOL OEMGetInterrupt(PDEVICE_LOCATION pDevLoc, PDWORD Irq);
Parameters
- pDevLoc
[in] Pointer to a DEVICE_LOCATION structure. - Irq
[out] IRQ associated with pDevLoc.
Return Values
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
OS Versions: Windows CE .NET 4.0 and later.
Header: Platform OAL.
Link Library: Platform OAL.
See Also
DEVICE_LOCATION | IOCTL_HAL_REQUEST_IRQ | OEMIoControl
Send Feedback on this topic to the authors