lineGetCallInfo (Windows Embedded CE 6.0)
1/6/2010
This function enables an application to obtain fixed information about the specified call.
Syntax
LONG WINAPI lineGetCallInfo(
HCALL hCall,
LPLINECALLINFO lpCallInfo
);
Parameters
- hCall
Handle to the call to be queried. The call state of hCall can be any state.
- lpCallInfo
Pointer to a variably sized data structure of type LINECALLINFO. Upon successful completion of the request, this structure is filled with call-related information. Prior to calling lineGetCallInfo, the application should set the dwTotalSize member of this structure to indicate the amount of memory available to TAPI for returning information.
Return Value
Returns zero if the request succeeds or a negative error number if an error occurs. The following table shows the return values for this function.
Value | Description |
---|---|
LINEERR_INVALCALLHANDLE |
The handle to the call is invalid. |
LINEERR_RESOURCEUNAVAIL |
The resources are unavailable. |
LINEERR_INVALPOINTER |
The pointer is invalid. |
LINEERR_STRUCTURETOOSMALL |
The structure is too small. |
LINEERR_NOMEM |
Not enough memory is available. |
LINEERR_UNINITIALIZED |
A parameter is uninitialized. |
LINEERR_OPERATIONFAILED |
The operation failed. |
LINEERR_OPERATIONUNAVAIL |
The operation is unavailable. |
Remarks
A separate LINECALLINFO structure exists for every incoming or outgoing call. The structure contains primarily fixed information about the call. An application would typically be interested in checking this information when it receives its handle for a call by the LINE_CALLSTATE message, or each time it receives notification by a LINE_CALLINFO message that parts of the call information structure have changed. These messages supply the handle for the call as a parameter.
Note
This function is for TAPI version 2.0 and later.
Requirements
Header | tapi.h |
Library | coredll.lib |
Windows Embedded CE | Windows CE 1.0 and later |
See Also
Reference
LINE_CALLINFO (TAPI)
LINE_CALLSTATE (TAPI)
LINECALLINFO