For Programmers: Free Programming Magazines  


Home > Archive > Smartphone Developer Forum > January 2005 > Query of the root charateristic type?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Query of the root charateristic type?
Abi

2005-01-25, 8:58 am

Hi

I am using the

DMProcessConfigXML(LPCWSTR pszWXMLin,DWORD dwFlags,LPWSTR* ppszwXMLout)

function to get and set the param values for the charateristic types
EMAIL2, BrowserFavorite etc.

When I use the following, for querying the EMAIL2 characteristic type(as
the pszWXMLin parameter to the DMProcessConfigXML function), can I expect
to get the handle for all the email accounts in the ppszwXMLout?

L"<wap-provisioningdoc>"
L"<characteristic-query type=\"EMAIL2\"/>"
L"</wap-provisioningdoc>";

Also for the "BrowserFavorite" characteristic-query type what can I expect?

Regards
Abi


Neil Enns [MSFT]

2005-01-25, 4:02 pm

No, that won't work. Same for browserfavourite. There's no way with those
CSPs to get a list of the items under them :(

--
Neil Enns
Program Manager
Microsoft Visual Studio for Devices

This posting is provided "AS IS" with no warranties, and confers no rights.
"Abi" <abi2003in2003@yahoo.co.in> wrote in message
news:%23xU6jgrAFHA.3820@TK2MSFTNGP11.phx.gbl...
> Hi
>
> I am using the
>
> DMProcessConfigXML(LPCWSTR pszWXMLin,DWORD dwFlags,LPWSTR* ppszwXMLout)
>
> function to get and set the param values for the charateristic types
> EMAIL2, BrowserFavorite etc.
>
> When I use the following, for querying the EMAIL2 characteristic type(as
> the pszWXMLin parameter to the DMProcessConfigXML function), can I expect
> to get the handle for all the email accounts in the ppszwXMLout?
>
> L"<wap-provisioningdoc>"
> L"<characteristic-query type=\"EMAIL2\"/>"
> L"</wap-provisioningdoc>";
>
> Also for the "BrowserFavorite" characteristic-query type what can I
> expect?
>
> Regards
> Abi
>
>



Robert Levy [MS]

2005-01-25, 9:00 pm

The SDK page documenting the syntax for each CSP should list how it can be
used. For example, here's what it says for EMAIL2:

Feature Available
<parm-query> Yes
<noparm> No
<nocharacteristic> Yes
<characteristic-query> Yes
Recursive: Yes
Root level of the CSP: No

That last one (characteristic-query for root level) is the one you're asking
about.

--
Robert Levy
Program Manager
Mobile Devices Product Group
http://blogs.msdn.com/windowsmobile

This posting is provided "AS IS" with no warranties, and confers no
rights.

Neil Enns [MSFT] wrote:[color=darkred]
> No, that won't work. Same for browserfavourite. There's no way with
> those CSPs to get a list of the items under them :(
>
> --
> Neil Enns
> Program Manager
> Microsoft Visual Studio for Devices
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights. "Abi" <abi2003in2003@yahoo.co.in> wrote in message
> news:%23xU6jgrAFHA.3820@TK2MSFTNGP11.phx.gbl...


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com