## Physical Device Driver Reference

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

### RMHDevToHLDev - Calling Sequence

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);