IOemCellularModem::UnregisterForPowerStateChanges
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 stop receiving notification of Power State changes.
Syntax
HRESULT UnregisterForPowerStateChanges(IPowerStateChange *pCallback);
Parameters
- pCallback
Pointer to the IOemPowerStateChange::OnPowerStateChange callback routine that will be unregistered.
Return values
Returns S_OK if the method was successful.
Remarks
Requirements
Header: Generated from CellularAPI_OEM.idl
Related topics