PDA

View Full Version : Help Needed: How to track UMTS/GPRS data usage like Spb GPRS Monitor?


LyonPlus
28-12-2007, 08:40 PM
While developing my application LCMinutes, I encountered a problem. I can not find the right way to monitor the UMTS/GPRS data usage. But I know there must be a way to do that, bacause Spb GPRS Monitor can do that.

I have tried the Registry key HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Shell\\Cu mulativeCallTimers\\Line_0, which has only outgoing data traffic, and seemingly tracks only part of it.

I have also tried RIL_GetPacketByteCount(), but for which I got an error E_NOTIMPL (0x80004001).

And I have searched through the Registry, Telephone API, Phone API, Network API, and Connection Manager, I just can't find any related interface.

Can anyone help me out? Thanks a lot.