ProgrammingChapter —7
258 700Series Color MobileComputer User’s Manual
IOCTL_HAL_GET_OAL_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.
lpInBufSize Should be set to ze ro.
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; ‘N’
Stgtcustomer “”
Stgtplat SeaRay
Stgtplatversion Current build version number
Stgtcputype[8]; “Intel\0”
Stgtcpu “PXA255\0”;
Stgtcoreversion “”
Sdate Buildtime
Stime Build date
nOutBufSize ThesizeofVERSIONINFOinbytes.
lpBytesReturned Returnssizeof(PVERSIONINFO).
ReturnValues
Returns TRUE if function succeeds. Returns FALSE if the function fails.
GetLastError() may be used to get the extende d error value.