Ioctl_Processor_Information; Ioctl_Get_Cpu_Id - Intermec 730 User Manual

700 series color mobile computer
Hide thumbs Also See for 730:
Table of Contents

Advertisement

Chapter
7
Programming

IOCTL_PROCESSOR_INFORMATION

BOOL KernelIoControl( IOCTL_PROCESSOR_INFORMATION,LPVOID lpInBuf,DWORD
nInBufSize,LPVOID lpOutBuf,DWORD nOutBufSize,LPDWORD lpBytesReturned );

IOCTL_GET_CPU_ID

BOOL KernelIoControl( IOCTL_GET_CPU_ID,LPVOID lpInBuf, DWORD nInBufSize,LPVOID
lpOutBuf,DWORD nOutBufSize,LPDWORD lpBytesReturned );
220
Returns processor information.
Usage
#include "pkfuncs.h"
Syntax
Parameters
lpInBuf
Should be set to NULL.
nInBufSize
Should be set to zero.
lpOutBuf
Should be a pointer to the PROCESSOR_INFO structure. Its
structure stores information describing the CPU more descriptively.
typedef __PROCESSOR_INFO {
WORD
wVersion;
WCHAR
szProcessorCore[40]; // "ARM\0"
WORD
wCoreRevision;
WCHAR
szProcessorName[40]; // "PXA255\0"
WORD
wProcessorRevision;
WCHAR
szCatalogNumber[100]; // 0
WCHAR
szVendor[100];
DWORD
dwInstructionSet;
DWORD
dwClockSpeed;
}
nOutBufSize
Should be set to sizeof(PROCESSOR_INFO) in bytes.
lpBytesReturned Returns sizeof(PROCESSOR_INFO);
Return Values
Returns TRUE if function succeeds. Returns FALSE if the function fails.
GetLastError() may be used to get the extended error value.
Returns Xscale processor ID.
Usage
#include "oemioctl.h"
Syntax
Parameters
lpInBuf
Should point to a CPUIdInfo structure defined in OEMIOCTL.H.
lpInBufSize
Should be sizeof(CPUIdInfo).
// Set to value 1
// 4
// 0
// "Intel Corporation\0"
// 0
// 400
700 Series Color Mobile Computer User's Manual

Advertisement

Table of Contents
loading

This manual is also suitable for:

750740741760761751 ... Show all

Table of Contents