## Physical Device Driver Reference

[prev][next][parent][TOC]

### RMGetVersion - Calling Sequence

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

    #include <os2.h>

    #include <rmcalls.h>

    PUSHORT    pMajorVersion;  /*  The major version of Resource Manager. */

    PUSHORT    pMinorVersion;  /*  The minor version of Resource Manager. */

    APIRET     rc;

    rc = RMGetVersion(pMajorVersion, pMinorVersion);