ISpElement_GetGroup
You can use the ISpElement_GetGroup function to find out what group an element belongs to.
OSStatus ISpElement_GetGroup ( const ISpElementReference inElement, UInt32 *outGroup);
inElement
- A reference to the element whose group you want to get.
outGroup
- On exit, a group ID.
- function result
- A result code.
DESCRIPTION
The ISpElement_GetGroup function returns in theoutGroup
parameter the group ID of the element specified in theinElement
parameter. If the specified element does not belongs to a group, the function returns 0.