SimGetDevCaps (Compact 2013)
3/26/2014
Th 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.
Syntax
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 Value
HRESULTs are either 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 |