Share via


TSPI_lineGetAddressStatus

The TSPI_lineGetAddressStatus function queries the specified address for its current status.

LONG TSPIAPI TSPI_lineGetAddressStatus(
HDRVLINE hdLine,                     
DWORD dwAddressID,                   
LPLINEADDRESSSTATUS lpAddressStatus );

Parameters

  • hdLine
    The service provider's handle to the line containing the address to be queried.
  • dwAddressID
    An address on the given open line device. This is the address to be queried. An address identifier is permanently associated with an address; the identifier remains constant across operating system upgrades. This parameter is not validated by TAPI when this function is called.
  • lpAddressStatus
    A pointer to a variably sized data structure of type LINEADDRESSSTATUS.

Return Values

Returns zero if the function succeeds or an error number if an error occurs. Possible return values are as follows:

LINEERR_INVALLINEHANDLE, LINEERR_OPERATIONUNAVAIL, LINEERR_INVALADDRESSID, LINEERR_OPERATIONFAILED, LINEERR_NOMEM, LINEERR_RESOURCEUNAVAIL.

Remarks

The service provider fills in all the members of the LINEADDRESSSTATUS data structure, except for dwTotalSize, which is filled in by TAPI. The service provider must not overwrite the dwTotalSize member.

Requirements

Runs On Versions Defined in Include Link to
Windows CE OS 3.0 and later Tapicomn.h   Coredll.lib

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.