home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 24 / CDACTUAL24.iso / SHARE / prog / cvj.exe / memorystatus.class (.txt) < prev   
Encoding:
Java Class File  |  1998-04-19  |  1.3 KB  |  28 lines

  1. import com.ms.dll.DllLib;
  2.  
  3. class MEMORYSTATUS {
  4.    public int dwLength;
  5.    public int dwMemoryLoad;
  6.    public int dwTotalPhys;
  7.    public int dwAvailPhys;
  8.    public int dwTotalPageFile;
  9.    public int dwAvailPageFile;
  10.    public int dwTotalVirtual;
  11.    public int dwAvailVirtual;
  12.    // $FF: synthetic field
  13.    private static Class class$MEMORYSTATUS;
  14.  
  15.    MEMORYSTATUS() {
  16.       this.dwLength = DllLib.sizeOf(class$MEMORYSTATUS != null ? class$MEMORYSTATUS : (class$MEMORYSTATUS = class$("MEMORYSTATUS")));
  17.    }
  18.  
  19.    // $FF: synthetic method
  20.    private static Class class$(String s) {
  21.       try {
  22.          return Class.forName(s);
  23.       } catch (ClassNotFoundException e) {
  24.          throw new NoClassDefFoundError(((Throwable)e).getMessage());
  25.       }
  26.    }
  27. }
  28.