C 言語関数:GlobalMemoryStatus サンプルコード
サンプルコードを検索した結果です。
Googleで検索
https://www.google.co.jp/#q=GlobalMemoryStatus