Skip to content

Latest commit

 

History

History
124 lines (84 loc) · 4.67 KB

nf-tapi-linegetaddresscaps.md

File metadata and controls

124 lines (84 loc) · 4.67 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:tapi.lineGetAddressCaps
lineGetAddressCaps function (tapi.h)
The lineGetAddressCaps function (tapi.h) queries the specified address on the specified line device to determine its telephony capabilities.
_tapi2_linegetaddresscaps
lineGetAddressCaps
lineGetAddressCaps function [TAPI 2.2]
lineGetAddressCapsA
lineGetAddressCapsW
tapi/lineGetAddressCaps
tapi/lineGetAddressCapsA
tapi/lineGetAddressCapsW
tapi2.linegetaddresscaps
tapi2\linegetaddresscaps.htm
tapi3
08cdea8a-5b36-428c-b90f-8741ae5f3205
08/09/2022
_tapi2_linegetaddresscaps, lineGetAddressCaps, lineGetAddressCaps function [TAPI 2.2], lineGetAddressCapsA, lineGetAddressCapsW, tapi/lineGetAddressCaps, tapi/lineGetAddressCapsA, tapi/lineGetAddressCapsW, tapi2.linegetaddresscaps
tapi.h
Windows
lineGetAddressCapsW (Unicode) and lineGetAddressCapsA (ANSI)
Tapi32.lib
Tapi32.dll
Windows
19H1
lineGetAddressCaps
tapi/lineGetAddressCaps
c++
APIRef
kbSyntax
DllExport
Tapi32.dll
lineGetAddressCaps
lineGetAddressCapsA
lineGetAddressCapsW

lineGetAddressCaps function

-description

The lineGetAddressCaps function queries the specified address on the specified line device to determine its telephony capabilities.

-parameters

-param hLineApp

Handle to the application's registration with TAPI.

-param dwDeviceID

Line device containing the address to be queried.

-param dwAddressID

Address on the given line device whose capabilities are to be queried. An address identifier is permanently associated with an address; the identifier remains constant across operating system upgrades.

-param dwAPIVersion

Version number of the Telephony API to be used. The high-order word contains the major version number; the low-order word contains the minor version number. This number is obtained by lineNegotiateAPIVersion.

-param dwExtVersion

Version number of the service provider-specific extensions to be used. This number can be set to zero if no device-specific extensions are to be used. Otherwise, the high-order word contains the major version number; and the low-order word contains the minor version number.

-param lpAddressCaps

Pointer to a variably sized structure of type LINEADDRESSCAPS. Upon successful completion of the request, this structure is filled with address capabilities information. Prior to calling lineGetAddressCaps, the application should set the dwTotalSize member of this structure to indicate the amount of memory available to TAPI for returning information.

Note  If the size parameters in the structure are not correct, there is a possibility that data could get overwritten. For more information on setting structure sizes, see the memory allocation topic.
 

-returns

Returns zero if the request succeeds or a negative error number if an error occurs. Possible return values are:

LINEERR_BADDEVICEID, LINEERR_NOMEM, LINEERR_INCOMPATIBLEAPIVERSION, LINEERR_OPERATIONFAILED, LINEERR_INCOMPATIBLEEXTVERSION, LINEERR_RESOURCEUNAVAIL, LINEERR_INVALADDRESSID, LINEERR_STRUCTURETOOSMALL, LINEERR_INVALAPPHANDLE, LINEERR_UNINITIALIZED, LINEERR_INVALPOINTER, LINEERR_OPERATIONUNAVAIL, LINEERR_NODRIVER, LINEERR_NODEVICE.

-remarks

Valid address identifiers range from zero to one less than the number of addresses returned by lineGetDevCaps. The version number to be supplied is the version number that was returned as part of the line's device capabilities by lineGetDevCaps.

-see-also

Basic Telephony Services Reference

LINEADDRESSCAPS

TAPI 2.2 Reference Overview

lineGetDevCaps

lineNegotiateAPIVersion