次の方法で共有


IOCTL_HAL_TRANSLATE_IRQ (Compact 2013)

10/16/2014

This I/O control message is not supported. Instead, use IOCTL_HAL_REQUEST_SYSINTR.

Send this message with OEMIoControl.

Syntax

BOOL OEMIoControl(
    DWORD dwIoControlCode,    // use IOCTL_HAL_TRANSLATE_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_TRANSLATE_IRQ for this operation.
  • lpInBuffer
    [in] IRQ to translate into a SYSINTR.
  • nInBufferSize
    [in] Set to the size of lpInBuffer.
  • lpOutBuffer
    [out] SYSINTR translated from an IRQ.
  • nOutBufferSize
    [in] Set to the size of lpOutBuffer.
  • lpBytesReturned
    [in] If not NULL, set to sizeof(DWORD).

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.

Requirements

Header

pkfuncs.h

See Also

Reference

CEDDK IOCTLs
IOCTL_HAL_REQUEST_SYSINTR
OEMInit
OEMIoControl