다음을 통해 공유


IOCTL_HAL_REQUEST_IRQ (Compact 2013)

10/16/2014

This I/O control message requests a hardware-to-IRQ mapping based on device location. Send this message with OEMIoControl.

Syntax

BOOL OEMIoControl(
    DWORD dwIoControlCode,    // use IOCTL_HAL_REQUEST_IRQ
    LPVOID lpInBuffer,        // pointer to input buffer
    DWORD nInBufferSize,      // input buffer size
    LPVOID lpOutBuffer,       // pointer to output buffer
    DWORD nOutBufferSize,     // output buffer size
    LPDWORD lpBytesReturned   // number of bytes returned
);

Parameters

  • dwIoControlCode
    [in] Control code for the operation. Use IOCTL_HAL_REQUEST_IRQ for this operation.
  • nInBufferSize
    [in] Set to the size of lpInBuffer.
  • lpOutBuffer
    [out] Interrupt number.
  • nOutBufferSize
    [in] Set to the size of lpOutBuffer.
  • lpBytesReturned
    [in] If not NULL, set to sizeof(DWORD). If multiple interrupts are mapped to the hardware device, this parameter is set to the size of DWORD times the number of interrupts.

Return Values

Returns TRUE if successful; otherwise, returns FALSE.

Remarks

To get extended error information, call GetLastError. GetLastError may return other standard error messages as appropriate.

If multiple interrupts are mapped to the hardware device, lpOutBuffer points to the starting interrupt in an array of interrupts, and nOutBufferSize contains the size of the array, in bytes.

Requirements

Header

pkfuncs.h

See Also

Reference

CEDDK IOCTLs
OEMIoControl