Sun Java System Calendar Server 6 2005Q4 Developer's Guide

Method: GetVersion

Purpose

Provide server with version information on startup.

Syntax

PRUint32 GetVersion (PRUint32& aMajorValue,PRUint32& aMinorValue)=0;

Parameters

The method has the following two parameters:

aMajorValue

On return, contains the major version number. 

aMinorValue

On return, contains the minor version number. 

Returns

NS_OK on success, non-zero error code on failure.

Description

Use this method to identify the module’s major and minor version number. The number must be greater than or equal to 1.0.