Programming
IOCTL_HAL_WARMBOOT
Causes the system to perform a warm-boot. The object store is retained.
Usage:
Syntax:
Parameters:
Return Values:
IOCTL_HAL_COLDBOOT
Causes the system to perform a cold-boot. The object store is cleared.
Usage:
Syntax:
Parameters:
Return Values:
7-30
700 Series Color Mobile Computer User's Manual
#include "oemioctl.h"
BOOL KernelIoControl( IOCTL_HAL_WARMBOOT,
LPVOID lpInBuf,
DWORD nInBufSize,
LPVOID lpOutBuf,
DWORD nOutBufSize,
LPDWORD lpBytesReturned );
lpInBuf
Should be set to NULL.
lpInBufSize
Should be set to zero.
lpOutBuf
Should be NULL.
nOutBufSize
Should be zero.
None.
#include "oemioctl.h"
BOOL KernelIoControl( IOCTL_HAL_COLDBOOT,
LPVOID lpInBuf,
DWORD nInBufSize,
LPVOID lpOutBuf,
DWORD nOutBufSize,
LPDWORD lpBytesReturned );
lpInBuf
Should be set to NULL.
lpInBufSize
Should be set to zero.
lpOutBuf
Should be NULL.
nOutBufSize
Should be zero.
None.
SECTION 7