Skip to content

Latest commit

 

History

History
83 lines (66 loc) · 2.78 KB

nf-tapi3if-ittapi2-get_phones.md

File metadata and controls

83 lines (66 loc) · 2.78 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:tapi3if.ITTAPI2.get_Phones
ITTAPI2::get_Phones (tapi3if.h)
The get_Phones method enumerates the phone objects corresponding to the phone devices. If there are no phones available that can be used with the address, this method produces an empty collection and returns S_OK.
ITTAPI2 interface [TAPI 2.2]
get_Phones method
ITTAPI2.get_Phones
ITTAPI2::get_Phones
_tapi3_ittapi2_get_phones
get_Phones
get_Phones method [TAPI 2.2]
get_Phones method [TAPI 2.2]
ITTAPI2 interface
tapi3.ittapi2_get_phones
tapi3if/ITTAPI2::get_Phones
tapi3\ittapi2_get_phones.htm
tapi3
03fe03fc-c58d-4e2a-a187-5ab9a676e89e
12/05/2018
ITTAPI2 interface [TAPI 2.2],get_Phones method, ITTAPI2.get_Phones, ITTAPI2::get_Phones, _tapi3_ittapi2_get_phones, get_Phones, get_Phones method [TAPI 2.2], get_Phones method [TAPI 2.2],ITTAPI2 interface, tapi3.ittapi2_get_phones, tapi3if/ITTAPI2::get_Phones
tapi3if.h
Tapi3.h
Windows
Uuid.lib
Tapi3.dll
Windows
19H1
ITTAPI2::get_Phones
tapi3if/ITTAPI2::get_Phones
c++
APIRef
kbSyntax
COM
Tapi3.dll
ITTAPI2.get_Phones

ITTAPI2::get_Phones

-description

The get_Phones method enumerates the phone objects corresponding to the phone devices. If there are no phones available that can be used with the address, this method produces an empty collection and returns S_OK.

This method is intended for Visual Basic and scripting applications. C/C++ applications will find the EnumeratePhones method more convenient.

-parameters

-param pPhones [out]

Pointer to a VARIANT containing an ITCollection of ITPhone interface pointers.

-returns

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

-remarks

TAPI calls the AddRef method on the ITPhone interface returned by ITTAPI2::get_Phones. The application must call Release on the ITPhone interface to free resources associated with it.

-see-also

IEnumPhone

ITTAPI2