ITAddressTranslation::EnumerateCallingCards method (tapi3if.h)
The EnumerateCallingCards method enumerates calling cards associated with the address. This method is provided for C and C++ applications. Automation client applications, such as those written in Visual Basic, must use the get_CallingCards method.
Syntax
HRESULT EnumerateCallingCards(
[out] IEnumCallingCard **ppEnumCallingCard
);
Parameters
[out] ppEnumCallingCard
Pointer to IEnumCallingCard interface.
Return value
This method can return one of these values.
Value | Meaning |
---|---|
|
Method succeeded. |
|
The ppEnumCallingCard parameter is not a valid pointer. |
|
Insufficient memory exists to perform the operation. |
Remarks
This method is a COM wrapper for the TAPI 2.1 LineGetTranslateCaps function, and takes calling card information from the LINETRANSLATECAPS structure returned by that function.
TAPI calls the AddRef method on the IEnumCallingCard interface returned by ITAddressTranslation::EnumerateCallingCards. The application must call Release on the IEnumCallingCard 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 |