Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

The SimDeleteMessagefunction deletes an Short Message Service (SMS) message from a particular storage location. This function is part of the SIM Manager API set that enables access to information stored on the SIM card.

Syntax

HRESULT SimDeleteMessage (
  HSIM 
hSim,
  DWORD 
dwStorage,
  DWORD 
dwIndex
);

Parameters

hSim

Points to a valid HSIM handle.

dwStorage

A SIM_SMSSTORAGEconstant.

Value Description

SIM_SMSSTORAGE_BROADCAST

Broadcast message storage location

SIM_SMSSTORAGE_SIM

SIM storage location

dwIndex

Index number of the entry to retrieve.

Return Value

HRESULTs are either S_OK for success, or one of the SIM_Eerror constants defined in the SIM Manager Error Constantstable.

Remarks

This is a privileged function.

Requirements

Header simmgr.h
Library cellcore.lib
Windows Embedded CE Windows Embedded CE 6.0 and later
Windows Mobile Pocket PC 2002 and later, Smartphone 2002 and later

See Also

500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.