NetworkGetCallState
This function can be used to return the call status.
DWORD NetworkGetCallState(
   PDWORD dwFlags
);
Parameters
dwFlags
[out] Pointer to a data structure of type NETWORK_STATE. Upon successful completion of the request, this structure is filled with call status information. The following table shows the values the parameter can receive.
NETWORK_FLAGS_STATE_ACTIVE the call is active.
NETWORK_FLAGS_STATE_HOLD call is on hold.
NETWORK_FLAGS_STATE_OFFERING call is offering.
NETWORK_FLAGS_STATE_OUTGOING the call is an outgoing call.

Return values
Zero indicates success. A non zero number indicates that an error occurred. For additional error information, enable the library debug mode.

Remarks
Not implemented in DynRIL v1.0.

Requirements
OS Versions: Windows CE 1.0 and later.
Header: dynril.h.
Dll Library: dynrildll.dll.

For the latest DynRIL version, visit www.teksoftco.com.