Load_PegGetPlatformName

This function retrieves the CPU type of the device currently connected to the desktop computer.

At a Glance

Windows CE versions: 1.0 and 1.01

Syntax

BOOL Load_PegGetPlatformName(LPTSTR pszPlatformName);

Parameters

pszPlatformName

[out] Upon successful return, pointer to a null-terminated string that contains the specific CPU type of the device connected to the desktop computer.

Return Values

TRUE indicates success. FALSE indicates failure.

Remarks

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 computer.

The string pointed to by the pszPlatformName parameter must be user-allocated of size MAX_PATH.

This function is not supported on Windows CE versions 2.0 and later. For more information on installing applications for versions 2.0 and later, see Connection Services.

See Also

Load_PegCpuType