WhichPlatform
TOC
Collapse the table of content
Expand the table of content

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

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 [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

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

 

 

Show:
© 2016 Microsoft