## Physical Device Driver Reference

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

### RMCreateSysName - Calling Sequence

This rmcall service obtains a system name handle and allows a driver to register a system name with the Resource Manager and associate it with a logical device. A system-name handle (HSYSNAME) is returned by this service to identify the system name.

Information about the system name being registered is passed in a SYSNAMESTRUCT.

    #include <os2.h>

    #include <rmcalls.h>

    HDRIVER           hDriver;

    PSYSNAME          hSysName;

    HLDEV             hLDevParent;

    PSYSNAMESTRUCT    SysNameStruct;

    APIRET            rc;

    rc = RMCreateSysName(hDriver, hSysName, hLDevParent,

           SysNameStruct);