Share via


IOemCellularModem::RegisterForPowerStateChanges

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.

 

Call this method to register for notification of changes in power state.

Syntax

HRESULT RegisterForPowerStateChanges(
    IPowerStateChange *pCallBack,
    INT_PTR context);

Parameters

Return values

Returns S_OK if the method was successful.

Requirements

Header: Generated from CellularAPI_OEM.idl

IOemCellularModem

 

 

Send comments about this topic to Microsoft