Поделиться через


IOCTL_HAL_SETBUSDATA (Windows Embedded CE 6.0)

1/5/2010

This IOCTL can be customized by OEMs to meet the needs of their platforms.

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_HAL_SETBUSDATA.
  • lpInBuf
    [in] Pointer to a BUSDATA_PARMS structure describing the bus data being written.
  • nInBufSize
    [in] Set to sizeof(BUSDATA_PARMS).
  • lpOutBuf
    [in] Set to NULL.
  • nOutBufSize
    [in] Set to 0.
  • lpBytesReturned
    [in] Set to NULL.

Return Values

TRUE indicates success.

FALSE indicates failure.

Remarks

This subcode writes data from the buffer specified in the BUSDATA_PARMS structure to a specific bus address, which is also specified in the structure. The lpBytesReturned parameter is not accessed. If the KernelIoControl call succeeds, the ReturnCode member of BUSDATA_PARMS provides status.

Requirements

Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

CEDDK IOCTLs
IOCTL_HAL_GETBUSDATA
OEMIoControl

Other Resources

CEDDK Dynamic-Link Library
BUSDATA_PARMS