This topic has not yet been rated - Rate this topic

WhichPlatform function

[WhichPlatform is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

Applies to: desktop apps only

Retrieves a value that indicates the type of Shell32.dll that the platform contains.

Syntax

UINT WhichPlatform(void);

Parameters

This function has no parameters.

Return value

Type: UINT

Return codeDescription
PLATFORM_UNKNOWN

The function was unable to determine the Shell32.dll version.

PLATFORM_IE3

Obsolete: Use PLATFORM_BROWSERONLY.

PLATFORM_BROWSERONLY

The Shell32.dll version is browser-only, with no new shell.

PLATFORM_INTEGRATED

The platform contains an integrated shell.

 

Remarks

This function always returns PLATFORM_INTEGRATED because Windows XP comes with an integrated shell.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

End of client support

Windows XP

End of server support

Windows Server 2003

Header

Shlwapi.h

DLL

Shlwapi.dll (version 5.0 or later)

See also

Shell and Common Controls Versions

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ