Bagikan melalui


IOemPowerStateChange::OnPowerStateChange

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 OnPowerStateChange method is called when the modem power state changes.

Syntax

HRESULT OnPowerStateChange(
    enum MODEMPOWERSTATE state,
    INT_PTR context);

Parameters

  • state
    A MODEMPOWERSTATE enumeration value that indicates the power state.

  • context
    Pointer to the context.

Return values

Returns S_OK if the method was successful.

Remarks

Requirements

Header: Generated from CellularAPI_OEM.idl

IOemPowerStateChange

 

 

Send comments about this topic to Microsoft