Provide plug-in module with server version information.
PRUint32 GetVersion (PRUint32& aMajorValue, PRUint32& aMinorValue)=0;
The method has the following two parameters:
aMajorValue |
On return, contains the major version number. |
aMinorValue |
On return, contains the minor version number. |
NS_OK on success, non-zero error code on failure.
Use this method to identify the server’s major and minor version number. The number is always greater than or equal to 1.0.