IMbnRegistrationEvents::OnPacketServiceStateChange method

Notification method called by the Mobile Broadband service to indicate a change in the device packet service state.

Syntax


HRESULT OnPacketServiceStateChange(
  [in] IMbnRegistration *newInterface
);

Parameters

newInterface [in]

Pointer to an IMbnRegistration interface that represents the device whose packet service state has changed.

Return value

This method must return S_OK.

Remarks

The OnPacketServiceStateChange method is called by the Mobile Broadband service to signal a change in the packet service state of the device. This can occur if there is a change in the current data class, the available data class, or a packet attach network error. An application can use the passed IMbnRegistration interface to get updated state values.

Requirements

Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

None supported

IDL

Mbnapi.idl

See also

IMbnRegistrationEvents

 

 

Show: