Share via


IRemoteToolDevice::GetOSVer (Compact 2013)

3/26/2014

Gets the operating system version of the device. This simply delegates to ICcConnection::GetSystemInfo in the Core Connectivity native API.

Syntax

HRESULT GetOSVer ([out] DWORD* pMajor, [out] DWORD* pMinor)

Parameters

  • pMajor
    The major version number.
  • pMinor
    The minor version number.

Return Value

E_INVALIDARG if pMajor or pMinor are NULL.

S_OK if success.

Other error codes may be returned from ICcConnection::GetSystemInfo.

See Also

Reference

IRemoteToolDevice
IRemoteToolServer::ConnectToDevice
ICcConnection::GetSystemInfo