Device Function
dev_DeviceName()
Retrieve the name of the device.
#include "device.h"
LMessage dev_DeviceName
(
LDevice device
);
| device | device to get name of |
dev_DeviceName() retrieves the name the device was created with.
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.
LOG("Device '%s' loaded.", dev_DeviceName());