The DlnGetHardwareType() function determines the type of the connected DLN device.
DlnGetHardwareType()
DLN_RESULT DlnGetHardwareType ( HDLN handle, DLN_HW_TYPE *type );
A handle to the DLN-series adapter.
The pointer to the DLN_HW_TYPE type variable that receives the device type.
DLN_HW_TYPE
The function successfully retrieved the type of the DLN adapter.
The DlnGetHardwareType() function is defined in the dln_generic.h file.
dln_generic.h