IMbnRegistration::GetRegistrationNetworkError method

Gets the network error from a registration operation.

Syntax


HRESULT GetRegistrationNetworkError(
  [out] ULONG *registrationNetworkError
);

Parameters

registrationNetworkError [out]

A pointer to an error code returned by the last failed network registration operation. This is set to 0 if there is no error or if the error code is unknown.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

For GSM devices, the error codes are defined in 3GPP specification 24.008 as "cause codes". For CDMA devices, the codes are device and network specific.

The error codes are cleared when the packet attach operation completes successfully.

Whenever there is a change in the network error value, the Mobile Broadband service will call the OnRegisterStateChange method of IMbnRegistrationEvents.

Requirements

Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

None supported

IDL

Mbnapi.idl

See also

IMbnRegistration

 

 

Show: