ProgrammingChapter 7
255700Series Color Mobile Computer User’sManual
IOCTL_HAL_ITC_WRITE_SYSPARM
Describes andenables the registry save location.
Usage
#include “oemioctl.h”
Syntax
BOOL KernelIoControl( IOCTL_HAL_ITC_WRITE_SYSPARM,LPVOID
lpInBuf,DWORD nInBufSize, LPVOID lpOutBuf, DWORD
nOutBufSize, LPDWORD lpBytesReturned );
Parameters
lpInBuf Asinglebytethatmaybeoneoftheidvalues. See “ID Field Va lues
onthe next page.
nInBufSize Must beset to the size of the lpInBuf in bytes.
lpOutBuf Must point to a buffer large enough to hold the data to be written
to the non-volatiledata store.
nOutBufSize ThesizeoflpOutBuf in bytes.
lpBytesReturned Thenumber of bytes returned by the function.
ReturnValues
Returns TRUE if function succeeds. Returns FALSE if the function fails.
GetLastError()may be used to get the error value. Either
ERROR_INVALID_PARAMETER or
ERROR_INSUFFICIENT_BUFFERmay be returned when this fu nction
is used to get the error.