Platform SDK: TAPI

ITTAPI::RegisterRequestRecipient

Registers an application instance as being the proper one to handle assisted telephony requests.

HRESULT RegisterRequestRecipient(
  long lRegistrationInstance,
  long lRequestMode,
  VARIANT_BOOL fEnable
);

Parameters

lRegistrationInstance
[in] Pointer to registration instance.
lRequestMode
[in] Request mode.
fEnable
[in] VARIANT_TRUE indicates that the caller wants to register as the handler; VARIANT_FALSE that it wants to unregister as the handler.

Return Values

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

Requirements

  Windows NT/2000: Requires Windows 2000.
  Version: Requires TAPI 3.0 or later.
  Header: Declared in Tapi3.h.
  Library: Use T3iid.lib.

See Also

ITTAPI, ITRequest, MakeCall, ITRequestEvent, TAPI Object