|
int __stdcall SDL_GetName |
( |
SDL_HANDLE |
handle, |
|
|
char * |
deviceName |
|
) |
| |
Retrieve's the current SeaDAC Lite device's SeaMAX compatible name.
- Parameters
-
- Return values
-
0 | Success. |
-1 | Invalid SDL_Initialize handle. |
-2 | No devices have been found. Call SDL_SearchForDevices() first. |
-3 | Parameter must not be zero. |
The name returned by SDL_GetName is compatible with SM_Open() in the main SeaMAX API.
- Note
- SeaDAC Lite modules may not return consecutive numbers such as SeaDAC Lite 0, 1, 2, etc. It is not uncommon, depending on the number and type of SeaDAC Lite modules being used, to see numbering that 'skips' or is non-consecutive.
- Warning
- The parameter 'deviceName' should have at least 20 bytes of allocated space before calling SDL_GetName.
|