函数参考


_WinAPI_GetPhysicallyInstalledSystemMemory

Retrieves the amount of RAM that is physically installed on the computer.

#Include <WinAPIEx.au3>
_WinAPI_GetPhysicallyInstalledSystemMemory ( )

参数

None.

返回值

Success The amount of physically installed RAM, in kilobytes.
失败: 返回 0 并设置 @error 标志为非 0 值.

注意/说明

The amount of memory available to the operating system can be less than the amount of memory physically installed
in the computer because the BIOS and some drivers may reserve memory as I/O regions for memory-mapped devices,
making the memory unavailable to the operating system and applications.

This function requires Windows Vista with SP1 or later.

相关

详情参考

在MSDN中搜索