Ioctl_Hal_Itc_Read_Parm - Intermec 700 Series User Manual

Color mobile computer
Hide thumbs Also See for 700 Series:
Table of Contents

Advertisement

SECTION 7

IOCTL_HAL_ITC_READ_PARM

Usage:
Syntax:
Parameters:
Return Values:
ID Field Values:
#include "oemioctl.h"
BOOL KernelIoControl( IOCTL_HAL_ITC_READ_PARM,
LPVOID lpInBuf,
DWORD nInBufSize,
LPVOID lpOutBuf,
DWORD nOutBufSize,
LPDWORD lpBytesReturned );
lpInBuf
Points to this structure. See "ID Field Values" below.
nInBufSize
Must be set to the size of the PARMS structure.
lpOutBuf
Must point to a buffer large enough to hold the return
data of the function. If this field is set to NULL and
nOutBufSize is set to zero when the function is called the
function will return the number bytes required by the
buffer.
nOutBufSize
The size of lpOutBuf in bytes.
lpBytesReturned The number of bytes returned by the function for the
data requested.
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_BUFFER
may be returned when this function is used to get the error.
The id field of the PARMS structure may be one of the following values:
ITC_NVPARM_ETHERNET_ID
This IOCTL returns the Ethernet 802.11 MAC Address. Six bytes are
returned in the buffer pointed to by the lpOutBuffer parameter.
ITC_NVPARM_SERIAL_NUM
This IOCTL returns the serial number of the device in BCD format. Six
bytes are returned in the buffer pointed to by the lpOutBuffer parameter.
ITC_NVPARM_MANF_DATE
This IOCTL returns the device date of manufacture in the
BCD YYYY/MM/DD format. Four bytes are returned in the buffer
pointed to by the lpOutBuffer parameter.
ITC_NVPARM_SERVICE_DATE
This IOCTL returns the device's date of last service in BCD YYYY/MM/
DD format. Four bytes are returned in the buffer pointed to by the
lpOutBuffer parameter.
ITC_NVPARM_DISPLAY_TYPE
This IOCTL returns the device's display type. One byte is returned in
the buffer pointed to by the lpOutBuffer parameter.
ITC_NVPARM_EDG_IP
This IOCTL returns the device Ethernet debug IP address. Four bytes
are returned in the buffer pointed to by the lpOutBuffer parameter.
struct PARMS {
BYTE
id;
BYTE
ClassId;
};
700 Series Color Mobile Computer User's Manual
Programming
7-21

Advertisement

Table of Contents
loading

Table of Contents