Jump to content

SimGetRecordInfo Operator APN


Guest mobiledano

Recommended Posts

Guest mobiledano

I need to prgrammatically retrieve the operator and APN from a WM 6 phone.

using C# - Operator data - I am trying to use the method GetServiceProvider() which is in the sample code from MS PhonesAPI.msi - GetServiceProveder() does some setuup then calls SimGetRecordInfo( hSim, SERVICE)PROVIDER, rec)

Note: SERVICE_PROVIDER is assigned the address 0x00006F46

Calling the method GetServiceProvider() works fine on the emulator. However, when deployed to a T-Mobile Shadow I get a SIM_E_INVALIDINDEX error thrown by the call SimGetRecordInfo().

Question 1 - Does anyone have a partial or complete list of the "addresses" that can be used (i.e. I have no idea where the address 0f 6F46 came from - it was in the sample code from MS). I cannot find the "addresses" in the SDK or anywhere else.

Question 2 - Does anyone know how to retrieve the "Operator" without using a cal to SimGetRecordInfo (i.e. what reg key would that info. be in?).

Question 3 - Anyone know what key or method I could call to retrieve the APN "Access Point Name" from a WM 6 phone?

Many thanks for your help in advance -

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.