Re: Porgammatically adjusting the program/storage memory slider in an application. by Michael
Michael
Wed Jun 21 07:25:14 CDT 2006
You need SetSystemMemoryDivision - which is not in the SDK. A few problems
using it: 1) you might destabilize the system, 2) Pocket PC OS monitors the
memory division and may change it (I think that, at some threshold, it makes
it a 50-50 split) and 3) I don't think it will be supported in future
versions of the OS.
You can see the Pocket PC OS change it by using the slider in the Memory
applet and watch it jump back to where it was (or, at least 50-50). Just
drag the slider far to the left or right and give it a few seconds /
minutes.
Why do you think you need to do this?
--
Michael Salamone [eMVP]
Entrek Software, Inc.
www.entrek.com
"Tryst" <trystano@gmail.com> wrote in message
news:1150888930.051129.199810@m73g2000cwd.googlegroups.com...
> Hi all,
>
> Is it possible for me to programmtically adjust the program/storage
> memory slider from within my application? Are there any PInvokes to the
> coredll that would allow me to do this? You can easily change this in
> 'Start->Settings->Memory', so it is possible to do I would have
> thought.
>
> I am using an MC50 device that is running PocketPC 2003.
>
> Thanks
>
> Tryst
>