Ioctl_hal_get_oal_verinfo, Syntax, Parameters return values – Intermec 751G User Manual
Page 86: Usage, Parameters

Chapter 3 — Configuring the Computer
72
751G Color Mobile Computer User’s Manual
Syntax
BOOL KernelIoControl( IOCTL_HAL_GET_DEVICEID,LPVOID
lpInBuf,DWORD nInBufSize,LPVOID lpOutBuf,DWORD
nOutBufSize,LPDWORD lpBytesReturned );
Parameters
Return Values
Returns TRUE if function succeeds. Returns FALSE if the function fails.
GetLastError() may be used to get the extended error value.
IOCTL_HAL_GET_OAL_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. STRICT_ID settings are not supported.
lpInBufSize
Should be set to zero.
lpOutBuf
Must point to a UNIQUE_DEVICEID structure as defined by
DEVICEID.H if the UUID is to be returned
nOutBufSize
The size of the UNIQUE_DEVICEID in bytes if the UUID is to
be returned. A DEVICE_ID as defined by PKFUNCS.H is
returned if the size in bytes is greater than or equal to
sizeof(DEVICE_ID).
lpBytesReturned
The number of bytes returned by the function.
lpInBuf
Should be set to NULL.
lpInBufSize
Should be set to zero.
lpOutBuf
Must point to a VERSIONINFO structure as defined by
OEMIOCTL.H. The fields should have these values:
•
cboemverinfo
sizeof (tagOemVerInfo);
•
verinfover
1
•
sig;
“ITC\0”
•
id;
‘N’
•
tgtcustomer
“”
•
tgtplat
SeaRay
•
tgtplatversion
Current build version number
•
tgtcputype[8];
“Intel\0”
•
tgtcpu
“PXA255\0”;
•
tgtcoreversion
“”
•
date
Build time
•
time
Build date
nOutBufSize
The size of VERSIONINFO in bytes.
lpBytesReturned
Returns sizeof(PVERSIONINFO).