Share via


IOem3GPPSupServices::AddCallForwarding

Warning  The Cellular COM API is deprecated in Windows 10. This content is provided to support maintenance of OEM and mobile operator created Windows Phone 8.1 applications.

 

The AddCallForwarding method adds call forwarding settings to the service for the specified reason.

Syntax

HRESULT ( STDMETHODCALLTYPE *AddCallForwarding )( 
    __RPC__in IOem3GPPSupServices * This,
    __RPC__in_opt ISimpleModemCompletion *pCallback,
    INT_PTR context,
    RILCALLFORWARDINGSETTINGSREASON dwReason,
    __RPC__in const RILCALLFORWARDINGSETTINGS *lpSettings
);

Parameters

  • This
    [in] Pointer the service to set the call forwarding settings on

  • pCallback
    [in] Pointer to the callback method

  • context
    [in] Pointer to the context

  • dwreason
    [in] The reason why the call forwarding settings will be added. Possible values include:

    • RIL_FWDREASON_UNCONDITIONAL

    • RIL_FWDREASON_MOBILEBUSY

    • RIL_FWDREASON_NOREPLY

    • RIL_FWDREASON_UNREACHABLE

    • RIL_FWDREASON_ALLFORWARDING

    • RIL_FWDREASON_ALLCONDITIONAL

  • lpSettings
    [in] A pointer to the call forwarding settings for the rule.

Return values

Returns S_OK if the method was successful.

Remarks

The ID_CAP_CELL_WNF capability is required to use the AddCallForwarding method.

Requirements

Header: Generated from CellularAPI_OEM.idl

IOem3GPPSupServices

 

 

Send comments about this topic to Microsoft