Ver Mensaje Individual
  #2  
Antiguo 11-11-2005
Avatar de Casimiro Notevi
Casimiro Notevi Casimiro Notevi is offline
Moderador
 
Registrado: sep 2004
Ubicación: En algún lugar.
Posts: 32.057
Reputación: 10
Casimiro Notevi Tiene un aura espectacularCasimiro Notevi Tiene un aura espectacular
Tienes varias formas, puedes mirar la estructura MEMORYSTATUS, en la ayuda de "win32 programmer's reference" que trae el delphi, por ejemplo.

Esta es la estructura:
Código:
 typedef struct _MEMORYSTATUS { // mst  
 	DWORD dwLength;		// sizeof(MEMORYSTATUS) 
 	DWORD dwMemoryLoad;	// percent of memory in use 
 	DWORD dwTotalPhys;	 // bytes of physical memory 
 	DWORD dwAvailPhys;	 // free physical memory bytes 
 	DWORD dwTotalPageFile; // bytes of paging file 
 	DWORD dwAvailPageFile; // free bytes of paging file 
 	DWORD dwTotalVirtual;  // user bytes of address space 
 	DWORD dwAvailVirtual;  // free user bytes 
 
 } MEMORYSTATUS, *LPMEMORYSTATUS;
Responder Con Cita