IOCTL_HAL_TRANSLATE_IRQ (Windows Embedded CE 6.0)

1/5/2010

This IOCTL is no longer supported as of Windows CE .NET 4.1. Instead, use the IOCTL_HAL_REQUEST_SYSINTR IOCTL.

The OEMIoControl function calls this IOCTL.

Parameters

  • dwIoControlCode
    [in] Set to IOCTL_HAL_TRANSLATE_IRQ.
  • lpInBuf
    [in] IRQ to translate into a SYSINTR.
  • nInBufSize
    [in] Size of lpInBuf.
  • lpOutBuf
    [out] SYSINTR translated from an IRQ.
  • nOutBufSize
    [out] Size of lpOutBuf.
  • lpBytesReturned
    [in] If not NULL, set to size of DWORD.

Return Values

TRUE indicates success. FALSE indicates failure.

Remarks

A bus driver reads its SYSINTR and IRQ values from the registry, if necessary. For a built-in device, set up the mapping in the OEMInit function and place the SYSINTR in the associated registry entry for the device. Bus drivers, such as the PCI bus driver, use IOCTL_HAL_REQUEST_SYSINTR to allocate SYSINTRs and subsequently populate the registry for the device it is loading a driver for.

Requirements

Header pkfuncs.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

CEDDK IOCTLs
IOCTL_HAL_REQUEST_SYSINTR
OEMInit
OEMIoControl

Other Resources