SimReadPhonebookEntry (Compact 2013)

3/26/2014

The SimReadPhonebookEntry function reads a phone book entry from the SIM card.

Syntax

HRESULT SimReadPhonebookEntry (
  HSIM hSim,
  DWORD dwLocation,
  DWORD dwIndex,
  LPSIMPHONEBOOKENTRY lpPhonebookEntry
);

Parameters

  • hSim
    Contains a valid HSIM handle.
  • dwIndex
    Index of the entry to retrieve.
  • lpPhonebookEntry
    A pointer to a phone book entry structure.

Return Value

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

Requirements

Header

simmgr.h

Library

sim.lib

See Also

Reference

SIM Manager Functions
SIMPHONEBOOKENTRY
SIM Manager PhoneBook Storage Constants