Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library
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.

SimReadPhonebookTag

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

The SimReadPhonebookTag reads the name value for a given index and tag. This function is part of the SIM Manager API set that enables access to information stored on the USIM card.


HRESULT SimReadPhonebookTag(
  HSIM hSim,
  DWORD dwTag,
  DWORD dwIndex,
    __out_ecount(cchNameSize) LPTSTR szName,
    DWORD cchNameSize
);

hSim

Points to a valid HSIM handle.

dwTag

A SIM_PBTAG_* constant

Value Description

SIM_PBTAG_GROUP

Group name tag

SIM_PBTAG_NUMBER

Additional Number tag

dwIndex

Index of the tag to read.

szName

Returned name of tag.

cchNameSize

Size of name in characters.

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

Community Additions

Show:
© 2015 Microsoft