Ioctl_hal_get_bootloader_verinfo, Usage, Syntax – Intermec 700 User Manual

Page 283: Parameters, Return values

Advertising
background image

Programming

Chapter 7

259

700 Series Color Mobile Computer User’s Manual

IOCTL_HAL_GET_BOOTLOADER_VERINFO

Returns the HAL version information of the Pocket PC image.

Usage

#include “oemioctl.h”

Syntax

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

Parameters

lpInBuf

Should be set to NULL.

nInBufSize

Should be set to zero.

lpOutBuf

Must point to a VERSIONINFO structure as defined by
OEMIOCTL.H. The fields should have these values:

S cboemverinfo

Sizeof (tagOemVerInfo);

S verinfover

1

S sig;

“ITC\0”

S id;

‘B’

S tgtcustomer

“”

S tgtplat

SeaRay

S tgtplatversion

Current build version number of the
bootstrap loader

S tgtcputype[8];

“Intel\0”;

S tgtcpu

“PXA255\0”

S tgtcoreversion

“”

S date

Build time

S time

Build date

nOutBufSize

The size of VERSIONINFO in bytes.

lpBytesReturned

The number of bytes returned to lpOutBuf.

Return Values

Returns TRUE if function succeeds. Returns FALSE if the function fails.
GetLastError() may be used to get the extended error value.

Advertising