Feeds:
Posts
Comments

Archive for March, 2007

Connection manager on Windows Mobile which exposes an api ConnMgrQueryDetailedStatus.This api can be used to query all the avaialble connections on the device. Following code snippet shows how:

//Variable Declaration

CONNMGR_CONNECTION_DETAILED_STATUS  *pConnMgrDet;HRESULT hResult; DWORD dwBufferSize=0;//Code Snippet

hResult=ConnMgrQueryDetailedStatus(pConnMgrDet,&dwBufferSize); (more…)

Read Full Post »

Wap configuration file and DMProcessConfigXML () can be used for retrieving existing GPRS settings on the device. This can be useful when you want to verify if the connection you added/removed was successfully installed or even for simply getting information regarding the existing connections. Following peice of code retreives the settings and stores it in a xml file.

//Declare the variables

LPCWSTR g_wszGPRSXml;

FILE *pXmlFile;

LPWSTR wszOutputXML = NULL;

¬†HRESULT hResult; (more…)

Read Full Post »