Partager via


OALIoCtlHalReboot (Windows Embedded CE 6.0)

1/5/2010

This function implements the IOCTL_HAL_REBOOT code handler. OALIoCtlHalReboot supports a warm boot of the target device.

Syntax

BOOL OALIoCtlHalReboot(
  UINT32 dwIoControlCode,
  VOID* lpInBuf,
  UINT32 nInBufSize,
  VOID* lpOutBuf,
  UINT32 nOutBufSize,
  UINT32* lpBytesReturned
);

Parameters

  • dwIoControlCode
    [in] Set to IOCTL_HAL_REBOOT to support a warm boot of the target device.
  • lpInBuf
    [in] Not used; set to NULL.
  • nInBufSize
    [in] Not used; set to zero.
  • lpOutBuf
    [in] Ignored; set to NULL.
  • nOutBufSize
    [in] Not used; set to zero.
  • lpBytesReturned
    [in] Not used; may be set to NULL.

Return Value

TRUE indicates success.

FALSE indicates failure.

Remarks

When correctly implemented, this function should never return.

Requirements

Header oal_ioctl.h
Library Developer Implemented
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

IOCTL Functions