ITPhoneEvent::get_NumberGathered method (tapi3if.h)

The get_NumberGathered method returns a BSTR value specifying the phone number that was gathered. This information is available only when the ITPhoneEvent::get_Event method returns PE_NUMBERGATHERED.

Syntax

HRESULT get_NumberGathered(
  [out] BSTR *ppNumber
);

Parameters

[out] ppNumber

Phone number that was gathered. The BSTR is allocated using SysAllocString and should be deallocated by the client.

Return value

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

Requirements

Requirement Value
Target Platform Windows
Header tapi3if.h (include Tapi3.h)
Library Uuid.lib
DLL Tapi3.dll

See also

ITPhoneEvent

ITPhoneEvent::get_Event