## Physical Device Driver Reference

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

### RMConvertID - Calling Sequence

This service is supported by both rminfo.dll and rmcalls.lib. It either converts a device ID to a string or it converts a string to device ID. For example, the device ID 0x32A0D041 is equivalent to the string "PNPA032".

    #include <os2.h>

    #include <rmcalls.h>

    PULONG    pID;

    PSZ       String;

    USHORT    Direction;

    APIRET    rc;

    rc = RMConvertID(pID, String, Direction);