Company X Accessories C1030-5510 Electronic Keyboard User Manual


 
Information gathering
The functions in this chapter return valuable information. All except GetUDKVersionString()
are bound to devices and can be used after getting a device pointer or handle from
GetDevice() only.
Methods/Functions
GetUDKVersionString
API Code
C++ static const char *ceDevice::GetUDKVersionString()
C const char *GetUDKVersionString()
.NET static string ceDevice.GetUDKVersionString()
Return string which contains the UDK version in printable format.
GetDeviceUID
API Code
C++ const char *ceDevice::GetDeviceUID()
C CE_RESULT GetDeviceUID(CE_DEVICE_HANDLE Handle, char *pszDest, unsigned
int uiDestSize)
.NET string ceDevice.GetDeviceUID()
Return string formatted unique device identifier. This identifier is in the form of
type@location while type is the type of the device (i.e. EFM01) and location is the position
the device is plugged to. For PCI devices, this is a combination of bus, slot and function
(PCI bus related values) and for USB devices a path from device to root hub, containing
the port of all used hubs. So after re-enumeration or reboot, devices on the same machine
can be identified exactly.
Notice C API: pszDest is the buffer were the value is stored to, it must be at least of size
uiDestSize.
GetDeviceName
API Code
C++ const char *ceDevice::GetDeviceName()
C CE_RESULT GetDeviceName(CE_DEVICE_HANDLE Handle, char *pszDest, unsigned
int uiDestSize)
.NET string ceDevice.GetDeviceName()
USBS6 / C1030-5510 http://www.cesys.com/
User Doc V0.3 -43- preliminary