Compartir a través de


IPMPlatform::GetOSInfo (Windows CE 5.0)

Send Feedback

This method retrieves the major and minor version numbers of the OS associated with the platform.

HRESULT GetOSInfo(VARIANT* pwMajorVersion,VARIANT* pwMinorVersion);

Parameters

  • pwMajorVersion
    [out] Pointer to the major version number of the OS.
  • pwMinorVersion
    [out] Pointer to the minor version number of the OS.

Return Values

Returns S_OK if the call was successfully completed. If a failure occurs, the appropriate HRESULT value is returned.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Platform.h, Cemgr.idl.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.