ITLocationInfo::get_CancelCallWaitingCode method (tapi3if.h)
The get_CancelCallWaitingCode method gets the dial digits and modifier characters that must be prefixed to a dialable string to cancel call waiting.
Syntax
HRESULT get_CancelCallWaitingCode(
[out] BSTR *ppCode
);
Parameters
[out] ppCode
Pointer to BSTR representation of dial digits and modifier characters required to cancel call waiting.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
Method succeeded. |
|
The ppCode parameter is not a valid pointer. |
|
Insufficient memory exists to perform the operation. |
Remarks
The application must use SysFreeString to free the memory allocated for the ppCode parameter.
The value that this method returns corresponds to the dwCancelCallWaitingSize and dwCancelCallWaitingOffset members of TAPI 2's LINELOCATIONENTRY structure.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | tapi3if.h (include Tapi3.h) |
Library | Uuid.lib |
DLL | Tapi3.dll |