Ioctl_Get_Cpu_Id - Intermec 700 Series User Manual

Color mobile computer
Hide thumbs Also See for 700 Series:
Table of Contents

Advertisement

Chapter
7
Programming

IOCTL_GET_CPU_ID

Reboot Functions
IOCTL_HAL_REBOOT
IOCTL_HAL_COLDBOOT
IOCTL_HAL_WARMBOOT
280
Returns Xscale processor ID.
Usage
#include "oemioctl.h"
Syntax
BOOL KernelIoControl( IOCTL_GET_CPU_ID,LPVOID lpInBuf, DWORD
nInBufSize,LPVOID lpOutBuf,DWORD nOutBufSize,LPDWORD
lpBytesReturned );
Parameters
lpInBuf
Should point to a CPUIdInfo structure defined in
OEMIOCTL.H.
lpInBufSize
Should be sizeof(CPUIdInfo).
lpOutBuf
Should be NULL.
nOutBufSize
Should be set to 0.
lpBytesReturned Returns sizeof(PROCESSOR_INFO);
Return Values
Returns TRUE if function succeeds. Returns FALSE if the function fails.
GetLastError() may be used to get the extended error value.
There are several methods, via Kernel I/O Control functions, that an ap-
plication program can use to force the 700 Series Computer to reboot.
IOCTL_HAL_REBOOT performs a warm-boot. See page 278.
Invoking the KernelIOControl function with
IOCTL_HAL_COLDBOOT forces a cold reboot. This resets the 700
Series Computer and reloads Windows CE as if a power-up had been
performed. The contents of the Windows CE RAM-based object store are
discarded. See page 275.
This function is supported on the 700 Series Computers. It performs a
warm boot of the system, preserving the object store. See page 275.
700 Series Color Mobile Computer User's Manual

Advertisement

Table of Contents
loading

Table of Contents