The DlnGetDeviceCount() function retrieves the total number of DLN devices available. If connection is established with several DLN servers, this function will return the total number of DLN adapters, connected to all servers.
DlnGetDeviceCount()
DLN_RESULT DlnGetDeviceCount( uint32_t* deviceCount );
A pointer to an unsigned 32-bit integer that receives the total number of available DLN-series adapters.
The function successfully retrieved the number of available DLN devices.
The DlnGetDeviceCount() function is defined in the dln_generic.h file.
dln_generic.h