Using Plugins / Reading the current profile.

  • Thread starter Thread starter Rob Holmes
  • Start date Start date
R

Rob Holmes

Hi All,

Here's one that has me stumped. Perhaps someone can point me in the right
direction

I want to "use" (ie Read) the state of a plugin. Specifically I want to read
the profile plugin in order to establish which profile the phone is
currently using.

Does anyone have any ideas? -

Alternatively, if there is another way of establishing the current profile
that would do just as well.

Thanks,

Rob H.
 
The current profile is stored in the registry. Either call
DMProcessConfigXml with the following xml:
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKCU\ControlPanel\Profiles">
<parm-query name="ActiveProfile" />
</characteristic>
</characteristic>
</wap-provisioningdoc>

or read it from the registry directly -
HKCU\ControlPanel\Profiles\ActiveProfile
 
Back
Top