Export (0) Print
Expand All

SimGetDevCaps

Send Feedback

The SimGetDevCaps function gets the device capabilities of the SIM. This function is part of the SIM Manager API set that enables access to information stored on the SIM card.

HRESULT SimGetDevCaps(
  HSIM hSim,
  DWORD dwCapsType,
  LPSIMCAPS lpSimCaps 
);

Parameters

hSim
Contains a valid HSIM handle.
dwCapsType
A code that indicates device capabilities. This is a combination of one of these SIM_CAPSTYPE_ constants.
Value Description
SIM_CAPSTYPE_PBENTRYLENGTH Phone book entry lengths
SIM_CAPSTYPE_PBSTORELOCATIONS Phone book storage locations
SIM_CAPSTYPE_LOCKFACILITIES Lock facilities
SIM_CAPSTYPE_PBINDEXRANGE Valid phone book entry indexes
SIM_CAPSTYPE_LOCKINGPWDLENGTHS Locking password lengths
SIM_CAPSTYPE_MSGMEMORYLOCATIONS Message memory locations
SIM_CAPSTYPE_ALL All of the above
lpSimCaps
Capabilities structure.

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.

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

SIMCAPS


Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.


Show:
© 2014 Microsoft