The Load_PegGetPlatformName function retrieves the CPU type of the device currently connected to the desktop PC.
BOOL Load_PegGetPlatformName(LPTSTR pszPlatformName);
Header file: | Platform.h |
Platforms: | H/PC |
Windows CE versions: | 1.0 and 1.01 |
If the function succeeds, the return value is TRUE, otherwise FALSE.
The Load_PegGetPlatformName function is located in Platform.dll, not with the other apploader functions in PpcLoad.dll.
Unlike Load_PegCpuType, this function distinguishes between the MIPS R3910 and R4100 chips.
The Load_PegGetPlatformName function will fail if a device is not currently connected to the desktop PC.
The string pointed to by the pszPlatformName parameter must be user-allocated of size MAX_PATH.
This function is not supported on Windows CE version 2.0. For more information on installing applications for version 2.0, see Installing Applications.