Earlz
Earlz

Reputation: 63865

Win32_PhysicalMemory.Capactiy -- How does it behave in 32-bit applications?

The way I understand Win32_PhysicalMemory.Capacity in the WMI is that if you add up all the different rows it has, it'll total up to how much RAM is actually usable for Windows.

However, what about things like 32-bit machines that have more than 2G of memory (via Physical Address Extensions)? If there was 6G of actual usable memory, would it return that, or would it return 2G or 4G?

Upvotes: 3

Views: 666

Answers (1)

RRUZ
RRUZ

Reputation: 136431

Most of the properties values of the Win32_PhysicalMemory WMI class are inherited from CIM_PhysicalMemory, In this case the Capacity property value comes from the the SMBIOS 2.7.1 Memory Device table (Type 17). So answering your question the value returned by this property is the size of the memory device.

Upvotes: 1

Related Questions