Getting Windows Status Information from Windows API (112393)
The information in this article applies to:
- Microsoft Excel for Windows 5.0c
This article was previously published under Q112393 SUMMARY
The Visual Basic, Applications Edition, example below demonstrates how
to obtain system status information similar to the information
displayed in the Microsoft Windows Program Manager About box. The
example procedure displays the following information using the Windows
application programming interface (API) functions indicated:
This Statement/
Property Displays This Information
------------------------------------------------------------------
GetWinFlags The kind of CPU (80286, 80386, or 80486) and
whether a math coprocessor is present
GetWinFlags Whether Microsoft Windows is running in
enhanced mode or standard mode
GetFreeSpace The amount of free memory
and
GlobalCompact
SystemHeapInfo The percentage of free system resources
OperatingSystem The version of Windows
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbProgramming KB112393 |
---|
|