DlnOpenDevice()
DLN_RESULT DlnOpenDevice(
uint32_t deviceNumber,
HDLN* deviceHandle
);
The DlnOpenDevice() function opens the specified device. This function uses an index number of the device. This number is randomly system-assigned to each connected device. It cannot be used to identify the device. If you need to open a specific device, use DlnOpenDeviceBySn() or DlnOpenDeviceById().
Parameters:
- deviceNumber
- A number of the device.
- deviceHandle
- A pointer to the variable that receives the device handle after the function execution.
This function is defined in the dln_generic.h file.
2006-2012