IMbnRegistration::GetPacketAttachNetworkError method
Gets the network error from a packet attach operation.
Syntax
HRESULT GetPacketAttachNetworkError( [out] ULONG *packetAttachNetworkError );
Parameters
- packetAttachNetworkError [out]
-
A pointer to an error code returned by the last failed network packet attach 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 OnPacketServiceStateChange method of IMbnRegistrationEvents.
Requirements
|
Minimum supported client |
Windows 7 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
None supported |
|
IDL |
|
See also