Share via


IOCTL_OAL_READBUSDATA (Windows Embedded CE 6.0)

1/5/2010

This IOCTL can be customized by the OEM to meet the needs of their platform.

This IOCTL is a subcode of IOCTL_HAL_DDK_CALL, which is used by the implementation of Ceddk.dll as ported by the OEM to their platform. It is only called in the context of Ceddk.dll.

The OEMIoControl function calls this IOCTL.

Parameters

  • dwIoControlCode
    [in] Set to IOCTL_OAL_READBUSDATA.
  • lpInBuf
    [in] Set to NULL.
  • nInBufSize
    [in] Set to 0.
  • lpOutBuf
    [out] Pointer to a OAL_DDK_PARAMS structure that describes the bus data being read.
  • nOutBufSize
    [in] Set to sizeof(OAL_DDK_PARAMS).
  • lpBytesReturned
    [in] Set to NULL.

Return Values

TRUE indicates success.

FALSE indicates failure.

Remarks

This subcode reads data from bus address specified in the OAL_DDK_PARAMS parameter into a buffer, also specified in the structure. The lpBytesReturned parameter is not accessed.

The rc member of OAL_DDK_PARAMS provides status, if the KernelIoControl call succeeds.

Requirements

Header oal_io.h
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

I/O IOCTLs
IOCTL_OAL_WRITEBUSDATA