Chapter
7
—
Programming
IOCTL_HAL_GET_OAL_VERINFO
BOOL KernelIoControl( IOCTL_HAL_GET_OAL_VERINFO,LPVOID lpInBuf,DWORD
nInBufSize,LPVOID lpOutBuf,DWORD nOutBufSize,LPDWORD lpBytesReturned );
IOCTL_HAL_GET_BOOTLOADER_VERINFO
BOOL KernelIoControl( IOCTL_HAL_GET_OAL_VERINFO,LPVOID lpInBuf, DWORD
nInBufSize,LPVOID lpOutBuf,DWORD nOutBufSize,LPDWORD lpBytesReturned );
216
Returns the HAL version information of the Pocket PC image.
Usage
#include "oemioctl.h"
Syntax
Parameters
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:
S cboemverinfo
S verinfover
S sig;
S id;
S tgtcustomer
S tgtplat
S tgtplatversion Current build version number
S tgtcputype[8]; "Intel\0"
S tgtcpu
S tgtcoreversion ""
S date
S time
nOutBufSize
The size of VERSIONINFO in bytes.
lpBytesReturned Returns sizeof(PVERSIONINFO).
Return Values
Returns TRUE if function succeeds. Returns FALSE if the function fails.
GetLastError() may be used to get the extended error value.
Returns the HAL version information of the Pocket PC image.
Usage
#include "oemioctl.h"
Syntax
Parameters
lpInBuf
Should be set to NULL.
nInBufSize
Should be set to zero.
sizeof (tagOemVerInfo);
1
"ITC\0"
'N'
""
SeaRay
"PXA255\0";
Build time
Build date
700 Series Color Mobile Computer User's Manual