3.2.4.1.10 GetCurrentMemory (Opnum 16)
The GetCurrentMemory method determines the total amount of physical memory in the system.
-
[id(10), helpstring("method GetCurrentMemory")] HRESULT GetCurrentMemory( [out] DWORD64* pdwCurrMemory );
pdwCurrMemory: A pointer to a 64-bit unsigned integer that returns the current system memory size, in bytes.
Return Values: This method returns 0x00000001 for success or 0x00000000 if an error occurs.
-
Return value/code
Description
0x00000000
An error occurred.
0x00000001
S_OK
Operation successful.
Additional IResourceManager interface methods are specified in section 3.2.4.1.