Ignore:
Timestamp:
Sep 25, 2000, 6:35:01 AM (25 years ago)
Author:
phaller
Message:

GlobalMemoryStatus implemented without Open32

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/oslibdos.cpp

    r4285 r4319  
    1 /* $Id: oslibdos.cpp,v 1.43 2000-09-20 21:32:53 hugh Exp $ */
     1/* $Id: oslibdos.cpp,v 1.44 2000-09-25 04:35:01 phaller Exp $ */
    22/*
    33 * Wrappers for OS/2 Dos* API
     
    20392039
    20402040
     2041ULONG OSLibDosQuerySysInfo(ULONG iStart, ULONG iLast, PVOID pBuf, ULONG cbBuf)
     2042{
     2043  USHORT sel = RestoreOS2FS();
     2044  APIRET rc;
     2045 
     2046  rc = DosQuerySysInfo(iStart, iLast, pBuf, cbBuf);
     2047 
     2048  SetFS(sel);
     2049  SetLastError(error2WinError(rc,ERROR_INVALID_HANDLE));
     2050  return rc;
     2051}
Note: See TracChangeset for help on using the changeset viewer.