Bagikan melalui


IOemCellularModem::RegisterForOemSlotChanges

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 an initial list of existing Slots and to receive notification of card insertion or removal.

Syntax

HRESULT RegisterForOemSlotChanges(IOemSlotChange *pCallback);

Parameters

  • pCallback
    Pointer to an IOemSlotChange callback routine that will provide notification of slot changes.

Return values

Returns S_OK if the method was successful.

Remarks

After calling this method you will receive a callback for each available Slot in the system via the IOemSlotChange::OnOemSlotAdded method. The IOemSlotChange::OnOemSlotExistenceDone callback indicates that all Slots have been listed. Subsequent calls to OnOemSlotAdded or IOemSlotChange::OnOemSlotRemoved indicate the addition or removal of a Slot.

Requirements

Header: Generated from CellularAPI_OEM.idl

IOemCellularModem

 

 

Send comments about this topic to Microsoft