Use window API to get available system memory.
Authored by: utunnels 2008-01-09
Parent: [r1308]
Child: [r1310]