ISpElement_GetDevice
You can use the ISpElement_GetDevice function to find out what device an element belongs to.
OSStatus ISpElement_GetDevice ( const ISpElementReference inElement, ISpDeviceReference *outDevice);
inElement
- A reference to the element whose device you want to get.
outDevice
- On exit, a device reference.
- function result
- A result code.
DESCRIPTION
The ISpElement_GetDevice function returns, in theoutDevice
parameter, a device reference for the device the element specified in theinElement
parameter belongs to.