GlobalMemoryStatus()함수 MSDN 참고 예제 #include #define DIV 1024 char *divisor = "K"; void main(int argc, char *argv[]) { MEMORYSTATUS stat; GlobalMemoryStatus (&stat); printf ("The MEMORYSTATUS structure is %ld bytes long.\n", stat.dwLength); printf ("It should be %d.\n", sizeof (stat)); printf ("There is %ld percent of memory in use.\n", stat.dwMemoryLoad); printf ("There are %ld total %sbytes of p..