Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The EnumeratePhones 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 enumeration and returns S_OK.
This method is intended for C/C++ applications. Visual Basic and scripting applications must use the get_Phones method.
Syntax
HRESULT EnumeratePhones(
[out] IEnumPhone **ppEnumPhone
);
Parameters
[out] ppEnumPhone
Pointer to an IEnumPhone interface.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
TAPI calls the AddRef method on the IEnumPhone interface returned by ITTAPI2::EnumeratePhones. The application must call Release on the IEnumPhone interface to free resources associated with it.
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | tapi3if.h (include Tapi3.h) |
| Library | Uuid.lib |
| DLL | Tapi3.dll |