Share via


OALIoCtlHalReboot (Compact 2013)

10/16/2014

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 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

See Also

Reference

IOCTL Functions