'Cause I am too lazy to bother with it for now!

--- In [email protected], "qzzyyx" <blackh...@...> wrote:
>
> 
> 
> --- In [email protected], "brucexs" <bswitzer@> wrote:
> >
> > 
> > Internally, there is a function that returns a 32 bit result that I'd have 
> > to redesign a bit.  
> 
> Pmem gives megabytes anyway so why not use GlobalMemoryStatusEx() when 
> possible and as soon as possible convert the result to a DWORD, say dwFreeMem 
> =  MEMORYSTATUSEX::ullAvailPhys / (1<<20).  32 bits is plenty for a number of 
> megabytes.
> 
>  - Vince
>


Reply via email to