3.4.8. gc_GetResourceH( )
The gc_GetResourceH( ) function can be used to retrieve the media device (ipm device) handle, which is required by GCAMS functions, such as, gc_SetAlarmParm( ) and gc_GetAlarmParm( ) to set and retrieve QoS threshold values. The function parameter values in this context are:
- linedev - the network device, that is, the Global Call line device retrieved by the gc_OpenEx( ) function
- resourcehp - the address where the media device handle is stored when the function completes
- resourcetype - GC_MEDIADEVICE
- Note: Applications must include the gcipmlib.h header file before Global Call can be used to set or retrieve QoS threshold values.
The other resource types including GC_NETWORKDEVICE (for a network device), GC_VOICEDEVICE (for a voice device), and GC_NET_GCLINEDEVICE (to retrieve the Global Call line device handle when the media handle is known) are also supported.
- Note: The GC_VOICEDEVICE option above applies only if the voice device was opened with the line device or opened separately and subsequently attached to the line device.
Click here to contact Telecom Support Resources
Copyright 2003, Intel Corporation