|
lineGetCallInfo
The lineGetCallInfo function enables an application to obtain fixed information about the
specified call.
LONG lineGetCallInfo(
HCALL hCall,
|
| LPLINECALLINFO lpCallInfo
|
| );
|
|
Parameters
hCall
A handle to the call to be queried. The call state of hCall can be any state.
lpCallInfo
A 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 field of this structure to indicate the amount of memory available to TAPI
for returning information.
Return Values
Returns zero if the request is successful or a negative error number if an
error has occurred. Possible return values are:
LINEERR_INVALCALLHANDLE, LINEERR_RESOURCEUNAVAIL, LINEERR_INVALPOINTER,
LINEERR_STRUCTURETOOSMALL, LINEERR_NOMEM, LINEERR_UNINITIALIZED,
LINEERR_OPERATIONFAILED, LINEERR_OPERATIONUNAVAIL.
Remarks
A separate LINECALLINFO structure exists for every inbound or outbound 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.
See Also
LINE_CALLINFO, LINE_CALLSTATE, LINECALLINFO
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Programmer's Reference (win32.hlp)
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Unix Manual Pages
|