Device Function

Device Name

dev_DeviceName()

Retrieve the name of the device.

Syntax
#include "device.h"

LMessage  dev_DeviceName
    (
          LDevice    device
    );
devicedevice to get name of
Description

dev_DeviceName() retrieves the name the device was created with.

Return Values

If successful, dev_DeviceName() returns a non-NULL pointer to the name of the device. Otherwise, it returns a non-NULL pointer to an invalid name string. It never returns NULL.

See Also

dev_DatabaseName()
dev_GetDatabaseName()
dev_GetDeviceName()

Example
LOG("Device '%s' loaded.", dev_DeviceName());