SimDeleteMessage

Send Feedback

The SimDeleteMessage function 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.

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

Parameters

  • hSim
    Points to a valid HSIM handle.

  • dwStorage
    A SIM_SMSSTORAGE constant.

    Value Description
    SIM_SMSSTORAGE_BROADCAST Broadcast message storage location
    SIM_SMSSTORAGE_SIM SIM storage location
  • dwIndex
    Index number of the entry to retrieve.

Return Values

HRESULTs are either S_OK for success, or one of the SIM_E error constants defined in the SIM Manager Error Constants table.

Remarks

This is a privileged function.

Requirements

Smartphone: Smartphone 2002 and later
Pocket PC: Pocket PC 2002 and later
OS Versions: Windows CE 3.0 and later
Header: simmgr.h
Library: cellcore.lib

See Also

SIM Manager Structures

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.