## Physical Device Driver Reference

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

### RMHDevToHLDev

Select an item:

    Calling Sequence
    Calling Parameters
    Returns
    Remarks
    Glossary

This rmcall service returns physical devices associated with logical devices and returns the Logical Device handle (HLDEV) associated with the physical device handle indicated.

    #include <os2.h>

    #include <rmcalls.h>

    HDEVICE    hDevice;

    HLDEV      hStartLDev;

    PHLDEV     hLDev;

    APIRET     rc;

    rc = RMHDevToHLDev(hDevice, hStartLDev, hLDev);