WhichPlatform function (shlwapi.h)
[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();
Return value
Type: UINT
Return code | Description |
---|---|
|
The function was unable to determine the Shell32.dll version. |
|
Obsolete: Use PLATFORM_BROWSERONLY. |
|
The Shell32.dll version is browser-only, with no new shell. |
|
The platform contains an integrated shell. |
Remarks
This function always returns PLATFORM_INTEGRATED because Windows XP comes with an integrated shell.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | shlwapi.h |
DLL | Shlwapi.dll (version 5.0 or later) |