
Chapter 7 — Programming
156 CN2B Mobile Computer User’s Manual
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:
• cboemverinfo Sizeof (tagOemVerInfo);
• verinfover 1
• sig; “ITC\0”
• id; ‘B’
• tgtcustomer “”
• tgtplat SeaRay
• tgtplatversion Current build version number of the
bootstrap loader
• tgtcputype[8]; “Intel\0”;
• tgtcpu “PXA255\0”
• tgtcoreversion “”
• date Build time
• 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.
IOCTL_HAL_WARMBOOT
Causes the system to perform a warm-boot. The object store is retained.
Usage
#include “oemioctl.h”
Syntax
BOOL KernelIoControl( IOCTL_HAL_WARMBOOT,LPVOID
lpInBuf,DWORD nInBufSize,LPVOID lpOutBuf,DWORD
nOutBufSize,LPDWORD lpBytesReturned );
Parameters
lpInBuf Should be set to NULL.
lpInBufSize Should be set to zero.
lpOutBuf Should be NULL.
nOutBufSize Should be zero.
Return Values
None.
Comentarios a estos manuales