Partager via


IOCTL_HAL_TRANSLATE_IRQ

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.
  • lpOverlapped
    [in] Set to NULL.

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 for which it is loading a driver.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Pkfuncs.h.

See Also

IOCTL_HAL_REQUEST_SYSINTR | OEMInit | OEMIoControl | OEMRequestSysIntr | Configuring the PCI Bus Driver

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.