TotalSystemRAM

Gets the size of the total RAM on this system.

Syntax

Copied!

ADLX_RESULT     TotalSystemRAM (adlx_uint* ramMB)

Parameters

  1. [out] ramMB adlx_uint* The pointer to a variable where the total system RAM size is returned, in MB.

Return Value

If the interface is successfully returned, ADLX_OK is returned.

If the interface is not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Requirements

Header

include “ISystem.h”

Minimum version

1.0