IMbnSmsEvents::OnSmsDeleteComplete method (mbnapi.h)

Important

Starting in Windows 10, version 1803, the Win32 APIs described in this section are replaced by the Windows Runtime APIs in the Windows.Networking.Connectivity namespace.

Notification method that signals the completion of an SMS deletion operation.

Syntax

HRESULT OnSmsDeleteComplete(
  [in] IMbnSms *sms,
  [in] ULONG   requestID,
  [in] HRESULT status
);

Parameters

[in] sms

An IMbnSms interface representing the Mobile Broadband device from which the messages were deleted.

[in] requestID

A request ID assigned by the Mobile Broadband service to identify the operation.

[in] status

A status code that indicates the outcome of the operation.

A calling application can expect one of the following values.

Value Meaning
S_OK
The operation was successful.
E_MBN_SIM_NOT_INSERTED
There is no SIM in the device.
E_MBN_BAD_SIM
There is a bad SIM in the device.
E_MBN_PIN_REQUIRED
A PIN is required for the operation to complete.
HRESULT_FROM_WIN32(ERROR_NOT_SUPPORTED)
Either the SMS operation or the particular SMS format is not supported by the device.
E_MBN_SMS_MEMORY_FAILURE
SMS memory failure.
E_MBN_SMS_INVALID_MEMORY_INDEX
There is no memory index with the requested value.
E_MBN_SMS_FILTER_NOT_SUPPORTED
The device does not support the requested filter.

Return value

This method must return S_OK.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header mbnapi.h

See also

IMbnSmsEvents