Chapter
7
—
Programming
IOCTL_GET_CPU_ID
306
Returns Xscale processor ID.
Usage
#include "oemioctl.h"
Syntax
BOOL KernelIoControl( IOCTL_GET_CPU_ID,LPVOID lpInBuf,
DWORD nInBufSize,LPVOID lpOutBuf,DWORD nOutBufSize,LPDWORD
lpBytesReturned );
Parameters
S lpInBuf
Should point to a CPUIdInfo structure defined in OEMIOCTL.H.
S lpInBufSize
Should be sizeof(CPUIdInfo).
S lpOutBuf
Should be NULL.
S nOutBufSize
Should be set to 0.
S 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.
700 Series Color Mobile Computer User's Manual