OEMGetInterrupt
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.
For an implementation example, see %_WINCEROOT%\Platform\ArmIntegrator\Kernel\HAL\Cfw_platform.c.
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
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.