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(
  long         lRegistrationInstance,
  long         lRequestMode,
  VARIANT_BOOL fEnable
);

Parameters

lRegistrationInstance

Pointer to registration instance.

lRequestMode

Request mode.

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

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

See also

ITRequest

ITRequestEvent

ITTAPI

MakeCall

TAPI Object