|
lineGetLineDevStatus
The lineGetLineDevStatus function enables an application to query the specified open line device for
its current status.
LONG lineGetLineDevStatus(
HLINE hLine,
|
| LPLINEDEVSTATUS lpLineDevStatus
|
| );
|
|
Parameters
hLine
A handle to the open line device to be queried.
lpLineDevStatus
A pointer to a variably sized data structure of type LINEDEVSTATUS. Upon successful completion of the request, this structure is filled with the
line's device status. Prior to calling lineGetLineDevStatus, 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_INVALLINEHANDLE, LINEERR_RESOURCEUNAVAIL, LINEERR_INVALPOINTER,
LINEERR_STRUCTURETOOSMALL, LINEERR_NOMEM, LINEERR_UNINITIALIZED,
LINEERR_OPERATIONFAILED, LINEERR_OPERATIONUNAVAIL.
Remarks
An application uses lineGetLineDevStatus to query the line device for its current line status. This status information
applies globally to all addresses on the line device. Use lineGetAddressStatus to determine status information about a specific address on a line.
See Also
LINEDEVSTATUS, lineGetAddressStatus
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
|