Bagikan melalui


ICallWaitingSettingsCompletion::OnCallWaitingSettingsCompletion

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.

 

Returns the result of a call to IOem3GPPSupServices::SetCallWaitingSettings.

Syntax

virtual 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 was forwarded. Possible values are:

            RIL_FWDREASON_UNCONDITIONAL
            RIL_FWDREASON_MOBILEBUSY
            RIL_FWDREASON_NOREPLY
            RIL_FWDREASON_UNREACHABLE
            RIL_FWDREASON_ALLFORWARDING
            RIL_FWDREASON_ALLCONDITIONAL
    
  • allClasses
    [in] If set to true, the operation applied to all telephony line classes and the infoClasses 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

Requirements

Header: Generated from CellularAPI_OEM.idl

IOem3GPPSupServices

 

 

Send comments about this topic to Microsoft