Share via


IOCTL_HAL_SETBUSDATA

This IOCTL can be customized by the OEM to meet the needs of their platform. This is a sub-code of IOCTL_HAL_DDK_CALL, which is used by the implementation of Ceddk.dll as ported by the OEM to their platform. This IOCTL 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 sub-code writes data from the buffer specified in the BUSDATA_PARMS structure to a specific bus address, also specified in the structure.

The lpBytesReturned parameter is not accessed. The ReturnCode member of BUSDATA_PARMS provides status if the KernelIoControl call succeeds.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Platform OAL.

See Also

Implementing CEDDK.dll | BUSDATA_PARMS | IOCTL_HAL_GETBUSDATA | OEMIoControl

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.