WIN16 API GetFreeSpace Returns Zero on a Computer with More than 2 GB of Memory

ID: Q222515


The information in this article applies to:
  • Microsoft Windows NT Server, Enterprise Edition version 4.0 SP4


SYMPTOMS

Windows NT Server, Enterprise Edition with the /3gb switch set will return zero for the amount of memory available on the computer. This API is usually used by setup programs to determine if the computer meets minimal requirements for installing the software. Because the API will return zero if the /3gb switch is used, the setup application will fail.


CAUSE

The API uses a signed long and returns zero when the value is to large.


RESOLUTION

To resolve this problem, obtain the latest service pack for Windows NT 4.0 or the individual software update. For information on obtaining the latest service pack, please go to:

For information on obtaining the individual software update, contact Microsoft Product Support Services. For a complete list of Microsoft Product Support Services phone numbers and information on support costs, please go to the following address on the World Wide Web:
http://www.microsoft.com/support/supportnet/overview/overview.asp


STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was first corrected in Windows NT 4.0 Service Pack 6.


MORE INFORMATION

If the amount of memory is equal to or greater than 2 gigabytes (GB), Windows NT Server, Enterprise Edition returns 2 GB.

Additional query words:

Keywords : kbbug4.00 kbfix4.00
Version : winnt:4.0 SP4
Platform : winnt
Issue type : kbbug


Last Reviewed: October 28, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.