ProgrammingChapter 7
259700Series Color Mobile Computer User’sManual
IOCTL_HAL_GET_BOOTLOADER_VERINFO

Returns the HAL version informationof 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 thes e values:
Scboemverinfo Sizeof (tagOemVerInfo);
Sverinfover 1
Ssig; “ITC\0”
Sid; ‘B’
Stgtcustomer “”
Stgtplat SeaRay
Stgtplatversion Current build version number of the
bootstrap loader
Stgtcputype[8]; “Intel\0”;
Stgtcpu “PXA255\0”
Stgtcoreversion “”
Sdate Buildtime
Stime Build date
nOutBufSize ThesizeofVERSIONINFOinbytes.
lpBytesReturned Thenumber of bytes returned to lp OutBuf.
ReturnValues
Returns TRUE if function succeeds. Returns FALSE if the function fails.
GetLastError() may be used to get the extende d error value.