Share via


IOem3GPPSupServices::GetCallForwardingSettings

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 GetCallForwardingSettings method gets the call forwarding settings for the service.

Syntax

HRESULT STDMETHODCALLTYPE GetCallForwardingSettings( 
    __RPC__in_opt IGetCallForwardingCompletion *pCallback,
    INT_PTR context,
    RILCALLFORWARDINGSETTINGSREASON reason,
    BOOL allClasses,
    DWORD infoClasses
) = 0;

Parameters

  • pCallback
    [in] Pointer to the callback method

  • context
    [in] Pointer to the context

  • reason
    [in] The reason why the call is forwarded. Possible values include:

            RIL_FWDREASON_UNCONDITIONAL
            RIL_FWDREASON_MOBILEBUSY
            RIL_FWDREASON_NOREPLY
            RIL_FWDREASON_UNREACHABLE
            RIL_FWDREASON_ALLFORWARDING
            RIL_FWDREASON_ALLCONDITIONAL
    
  • qllClasses
    [in] If set to true, the operation applies to all telephony line classes and the dwInfoClasses parameter was ignored

  • infoClasses
    [in] Represents the class of telephony line. The value of this parameter corresponds to the telephony type defined in the RILINFOCLASS enum. For call forwarding or call waiting this will typically be set to 1 (voice).

Return values

Returns S_OK if the method was successful.

Remarks

The ID_CAP_CELL_WNF capability is required to use the GetCallForwardingSettings method.

Requirements

Header: Generated from CellularAPI_OEM.idl

IOem3GPPSupServices

 

 

Send comments about this topic to Microsoft