Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SimReadPhonebookEntry

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

The SimReadPhonebookEntry function reads a phone book entry from the SIM card. This function is part of the SIM Manager API set that enables access to information stored on the SIM card.


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

hSim

Contains a valid HSIM handle.

dwLocation

A phone book storage location value; equal to one of the SIM_PBSTORAGE constant values.

Value Description

SIM_PBSTORAGE_EMERGENCY

Emergency dial list.

SIM_PBSTORAGE_FIXEDDIALING

SIM fixed dialing list.

SIM_PBSTORAGE_LASTDIALING

SIM last dialing list.

SIM_PBSTORAGE_OWNNUMBERS

SIM own numbers lists.

SIM_PBSTORAGE_SIM

General SIM Storage.

dwIndex

Index of the entry to retrieve.

lpPhonebookEntry

A pointer to a phone book entry structure.

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

Headersimmgr.h
Librarycellcore.lib
Windows Embedded CEWindows Embedded CE 6.0 and later
Windows MobilePocket PC 2002 and later, Smartphone 2002 and later

Community Additions

Show:
© 2015 Microsoft