SimDeletePhonebookEntry (Compact 2013)

3/26/2014

This function deletes a phone book entry from the SIM card.

Syntax

HRESULT SimDeletePhonebookEntry (
  HSIM hSim,
  DWORD dwLocation,
  DWORD dwIndex
);

Parameters

  • hSim
    Points to a valid HSIM handle.
  • dwIndex
    Index number of the entry to delete.

Return Value

HRESULT is S_OK for success, or one of the SIM_E error constants defined in the SIM Manager Error Constants table.

Remarks

SIM_NOTIFY_PBE_DELETED is received when this function executes successfully. Callback functions registered with SimInitialize are called with SIM_NOTIFY_PBE_DELETED.

Requirements

Header

simmgr.h

Library

sim.lib

See Also

Reference

SIM Manager Functions
SIMPHONEBOOKENTRY
SIM Manager PhoneBook Storage Constants