IOmNavigator::platform Property

Retrieves the name of the user's operating system.

Syntax

HRESULT IOmNavigator::get_platform(BSTR *p);

Parameters

  • p
    Pointer to a variable of type BSTR that receives one of the values listed in Possible Values.

Possible Values

HP-UX HP UNIX-based computers.
MacPPC Macintosh PowerPC-based computers.
Mac68K Macintosh 68K-based computers.
SunOS Solaris-based computers.
Win64 Windows 64-bit platform.
Win32 Windows 32-bit platform.
Win16 Windows 16-bit platform.
WinCE Windows CE platform.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

IOmNavigator::userAgent