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 negative error number indicates that an error occurred. For additional error information, enable the library debug mode.

Remarks
none.

Requirements
OS Versions: Windows CE 1.0 and later.
Header: dyntapi.h.
Dll Library: dyntapidll.dll.

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