Skip to content

Latest commit

 

History

History
91 lines (69 loc) · 3.9 KB

nf-tspi-tspi_phonenegotiateextversion.md

File metadata and controls

91 lines (69 loc) · 3.9 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:tspi.TSPI_phoneNegotiateExtVersion
TSPI_phoneNegotiateExtVersion function (tspi.h)
The TSPI_phoneNegotiateExtVersion function returns the highest extension version number the service provider can operate under for this device, given the range of possible extension versions.
TSPI_phoneNegotiateExtVersion
TSPI_phoneNegotiateExtVersion function [TAPI 2.2]
_tspi_tspi_phonenegotiateextversion
tspi.tspi_phonenegotiateextversion
tspi/TSPI_phoneNegotiateExtVersion
tspi\tspi_phonenegotiateextversion.htm
tapi3
03ea6d25-8e65-4c8a-80dc-f2ecd214ad0e
12/05/2018
TSPI_phoneNegotiateExtVersion, TSPI_phoneNegotiateExtVersion function [TAPI 2.2], _tspi_tspi_phonenegotiateextversion, tspi.tspi_phonenegotiateextversion, tspi/TSPI_phoneNegotiateExtVersion
tspi.h
Windows
Windows
19H1
TSPI_phoneNegotiateExtVersion
tspi/TSPI_phoneNegotiateExtVersion
c++
APIRef
kbSyntax
UserDefined
Tspi.h
TSPI_phoneNegotiateExtVersion

TSPI_phoneNegotiateExtVersion function

-description

The TSPI_phoneNegotiateExtVersion function returns the highest extension version number the service provider can operate under for this device, given the range of possible extension versions.

-parameters

-param dwDeviceID

Identifies the phone device for which interface version negotiation is to be performed.

-param dwTSPIVersion

Specifies an interface version number that is negotiated for this device using TSPI_phoneNegotiateTSPIVersion. This function operates according to the interface specification at this version level.

-param dwLowVersion

The lowest extension version number under which TAPI or its client application can operate. The most-significant WORD is the major version number and the least-significant WORD is the minor version number.

-param dwHighVersion

The highest extension version number under which TAPI or its client application can operate. The most-significant WORD is the major version number and the least-significant WORD is the minor version number.

-param lpdwExtVersion

A pointer to a DWORD. Upon a successful return from this function, the service provider fills this location with the highest extension version number, within the range requested by the caller, under which the service provider can operate. The most-significant WORD is the major version number and the least-significant WORD is the minor version number. If the requested range does not overlap the range supported by the service provider, the function returns PHONEERR_INCOMPATIBLEEXTVERSION.

-returns

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

PHONEERR_INCOMPATIBLEAPIVERSION, PHONEERR_RESOURCEUNAVAIL, PHONEERR_INCOMPATIBLEEXTVERSION, PHONEERR_OPERATIONFAILED, PHONEERR_NODRIVER, PHONEERR_OPERATIONUNAVAIL, PHONEERR_NOMEM.

-remarks

This function can be called before or after the device has been opened by TAPI. If the device is currently open and has an extension version selected, the function should return that version number if it is within the requested range. If the selected version number is outside the requested range, the function returns PHONEERR_INCOMPATIBLEEXTVERSION.

-see-also

TSPI_phoneNegotiateTSPIVersion