Chapter 3 — Configuring the Computer

Parameters

lpInBuf

Should be set to NULL.

 

 

lpInBufSize

Should be set to zero.

lpOutBuf

Should be NULL.

 

 

nOutBufSize

Should be zero.

 

 

Return Values

None.

IOCTL_HAL_COLDBOOT

Causes the system to perform a cold-boot. The object store is cleared.

Usage

#include “oemioctl.h”

Syntax

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

Parameters

lpInBuf

Should be set to NULL.

 

 

lpInBufSize

Should be set to zero.

lpOutBuf

Should be NULL.

 

 

nOutBufSize

Should be zero.

 

 

Return Values

None.

IOCTL_HAL_GET_RESET_INFO

This code allows software to check the type of the most recent reset.

Usage

#include “oemioctl.h”

Syntax

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

Parameters

lpInBuf

Should be set to NULL.

 

 

lpInBufSize

Should be set to zero.

lpOutBuf

Must point to a HAL_RESET_INFO structure. See sample below.

 

 

nOutBufSize

The size of HAL_RESET_INFO in bytes.

lpBytesReturned

The number of bytes returned by the function.

 

 

74

751G Color Mobile Computer User’s Manual

Page 88
Image 88
Intermec 751G user manual Ioctlhalcoldboot, None