To retrieve call status information about a call, use nccGetCallStatus.
DWORD NMSAPI nccGetCallStatus ( NCC_CALLHD callhd, NCC_CALL_STATUS *callstatus, unsigned size)
Argument |
Description |
||||||||||||||||||||
callhd |
Call handle returned to the application with the NCCEVN_SEIZURE_DETECTED event or returned from nccPlaceCall. |
||||||||||||||||||||
callstatus |
Pointer to an address of a buffer to receive the call status information. This buffer must be at least the size of an NCC_CALL_STATUS structure. The following table lists the fields in the NCC_CALL_STATUS structure and indicates whether the fields are returned by SIP for NCC:
|
||||||||||||||||||||
size |
Size of the buffer. This size should be set to the size of the NCC_CALL_STATUS buffer. |
NCC_CALL_STATUS info;
ret = nccGetCallStatus( callhd, &info, sizeof( NCC_CALL_STATUS ) );