#include <versioninfo.h>
class VersionInfo |
Public Member Functions | |
---|---|
IMPORT_C TInt | GetVersion(TVersionBase &) |
IMPORT_C TInt | GetVersion(TVersionBase &, RFs &) |
Class holds system version information. Version Info API provides an interface for quering system version information.
Usage:
// iFs contains open file server session VersionInfo::TPlatformVersion platformVersion; // Select the overload of VersionInfo::GetVersion() that suits best for // the current client. User::LeaveIfError( VersionInfo::GetVersion( platformVersion, iFs ) ); // Now platformVersion contains platform version information.
IMPORT_C TInt | GetVersion | ( | TVersionBase & | aVersion | ) | [static] |
Parameter | Description |
---|---|
aVersion | Stores the version information |
Returns: System wide error code
IMPORT_C TInt | GetVersion | ( | TVersionBase & | aVersion, |
RFs & | aFs | |||
) | [static] |
This method gets the version information. Given file server session avoids the overhead of new file server connection.
See also: TVersionBase
Parameter | Description |
---|---|
aVersion | Stores the version information |
aFs | An opened file server session |
Returns: System wide error code