Share via


IOemCellularModem::SetRFState

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.

 

This method sets the RF Power (Level) State for SAR.

Syntax

HRESULT SetRFState(
    ISetRFStateCompletion *pCallback, 
    DWORD dwRFPowerState, 
    INT_PTR context);

Parameters

  • pCallback
    [in] Pointer to the ISetRFStateCompletion callback interface that is called to return the results of the set RF power state request..

  • dwRFPowerState
    [in] The RF power state to be set.

  • context
    [in] Pointer to the context.

Return Value

This method returns S_OK if successful.

Remarks

Example

Requirements

Header: Generated from CellularAPI_OEM.idl

 

 

Send comments about this topic to Microsoft