Programming
IOCTL_GET_CPU_ID
Returns Xscale processor ID.
Usage:
Syntax:
Parameters:
Return Values:
7-34
700 Series Color Mobile Computer User's Manual
#include "oemioctl.h"
BOOL KernelIoControl( IOCTL_GET_CPU_ID,
LPVOID lpInBuf,
DWORD nInBufSize,
LPVOID lpOutBuf,
DWORD nOutBufSize,
LPDWORD lpBytesReturned );
lpInBuf
Should point to a CPUIdInfo structure defined in
OEMIOCTL.H.
lpInBufSize
Should be sizeof(CPUIdInfo).
lpOutBuf
Should be NULL.
nOutBufSize
Should be set to 0.
lpBytesReturned Returns sizeof(PROCESSOR_INFO);
Returns TRUE if function succeeds. Returns FALSE if the function fails.
GetLastError() may be used to get the extended error value.
SECTION 7