ITTAPI::RegisterRequestRecipient method (tapi3if.h)

The RegisterRequestRecipient method registers an application instance as being the proper one to handle assisted telephony requests.

Syntax

HRESULT RegisterRequestRecipient(
  [in] long         lRegistrationInstance,
  [in] long         lRequestMode,
  [in] VARIANT_BOOL fEnable
);

Parameters

[in] lRegistrationInstance

Pointer to registration instance.

[in] lRequestMode

Request mode.

[in] fEnable

VARIANT_TRUE indicates that the caller wants to register as the handler; VARIANT_FALSE that it wants to unregister as the handler.

Return value

This method can return one of these values.

Return code Description
S_OK
Method succeeded.
E_INVALIDARG
The TAPI object has not been initialized.
E_OUTOFMEMORY
Insufficient memory exists to perform the operation.

Requirements

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

See also

ITRequest

ITRequestEvent

ITTAPI

MakeCall

TAPI Object