Incoming Calls and Line Privileges (Windows CE 5.0)
When an application responds to an incoming call, the application must be the owner of the call and open the line with owner privilege.
An application can request ownership that is dependent on the type of call (media mode), which allows multiple applications to have ownership of different media modes over the same line. If the TSP can detect media modes for incoming calls, the application can share lines among multiple applications.
When a new call arrives, the application answers the call by using the lineAnswer function. This function supplies a handle to the call and points to a string that contains user information to be sent to the remote caller when the call is answered.
The call changes to a connected state after the call has been answered. Initially, only one application can have ownership of the incoming call.
An application that is based on Windows CE cannot refuse ownership of a call for which it receives an owner handle.
See Also
Send Feedback on this topic to the authors