Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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