Partager via


SimGetRecordInfo (Compact 2013)

3/26/2014

This function gets information for a specific SIM record.

Syntax

HRESULT SimGetRecordInfo (
  HSIM hSim,
  DWORD dwAddress,
  LPSIMRECORDINFO lpSimRecordInfo
);

Parameters

  • hSim
    Points to a valid HSIM handle.
  • dwAddress
    The SIM address.

Return Value

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

Example

HRESULT       hr;
HSIM          hSim;
SIMRECORDINFO simRecordInfo;

hr = SimInitialize( SIM_INIT_NONE, NULL, 0, &hSim );

simRecordInfo.cbSize = sizeof( simRecordInfo );
hr = SimGetRecordInfo( hSim, 0x6F7B, &simRecordInfo );

simRecordInfo.cbSize = sizeof( simRecordInfo );
hr = SimGetRecordInfo( hSim, 0x6F7E, &simRecordInfo );

// Finished using the SIM Manager
hr = SimDeinitialize( hSim );

Requirements

Header

simmgr.h

Library

sim.lib

See Also

Reference

SIM Manager Functions
SIMRECORDINFO