RMGetVersion

This service is supported by rmcalls.lib. It returns the major and minor version of the Resource Manager.

Syntax
RMGetVersion(pMajorVersion, pMinorVersion);

Parameters

 * pMajorVersion (PUSHORT) - output : The major version of Resource Manager.


 * pMinorVersion (PUSHORT) - output : The minor version of Resource Manager.

Return Code

 * rc (APIRET) - returns : On systems where the Resource Manager driver is not installed, the library interface code will return RMRC_NOT_INSTALLED.

RMRC_SUCCESS RMRC_NULL_POINTER

Remarks
None.

C

 * 1) include 
 * 2) include 

PUSHORT   pMajorVersion;  /*  The major version of Resource Manager. */ PUSHORT   pMinorVersion;  /*  The minor version of Resource Manager. */ APIRET    rc;

rc = RMGetVersion(pMajorVersion, pMinorVersion); 