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

Method: GetVersion

Purpose

Provide plug-in module with server version information.

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 server’s major and minor version number. The number is always greater than or equal to 1.0.