Hcon_Device_Nth_Containee_Get()
Abstract
Returns the device installed on the nth “slot” of a particular type in a device.
Syntax
Hcon_Device_Nth_Containee_Get (device_ptr, prop_name, prop_value, num)
| Argument | Type | Description |
|---|---|---|
device_ptr |
HconT_Device * |
device pointer |
prop_name |
const char * |
name |
prop_value |
const char * |
value |
num |
int |
number of the device |
Return Type
HconT_Device *
the nth component of the specified device.
Header
hcon.h
Details
This function returns the device installed on the nth “slot” of a particular type in a device. Also, it allocates memory for a device. When the client uses this function, the client must destroy it with the destroy callback function.