Ioctl_hal_reboot, Ioctl_processor_information – Intermec 751G User Manual

Page 90

Advertising
background image

Chapter 3 — Configuring the Computer

76

751G Color Mobile Computer User’s Manual

IOCTL_HAL_REBOOT

Causes the system to perform a warm-boot. The object store is retained.

Usage

#include “oemioctl.h”

Syntax

BOOL KernelIoControl( IOCTL_HAL_REBOOT,LPVOID
lpInBuf,DWORD nInBufSize,LPVOID lpOutBuf,DWORD
nOutBufSize,LPDWORD lpBytesReturned );

Parameters

Return Values

None.

IOCTL_PROCESSOR_INFORMATION

Returns processor information.

Usage

#include “pkfuncs.h”

Syntax

BOOL KernelIoControl( IOCTL_PROCESSOR_INFORMATION,LPVOID
lpInBuf,DWORD nInBufSize,LPVOID lpOutBuf,DWORD
nOutBufSize,LPDWORD lpBytesReturned );

Note: Using this is no longer recommended, use
IOCTL_HAL_WARMBOOT (

page 73

) or IOCTL_HAL_COLDBOOT

(

page 74

). This is supported for backward-compatibility but its use can

lead to difficulties.

lpInBuf

Should be set to NULL.

lpOutBuf

Should be NULL.

lpInBufSize

Should be set to zero.

nOutBufSize

Should be zero.

Advertising