GetSystemRAMRange

Gets the minimum and maximum system RAM of a system.

Syntax

Copied!

ADLX_RESULT     GetSystemRAMRange (adlx_int* minValue, adlx_int* maxValue)

Parameters

  1. [out] minValue adlx_int* The pointer to a variable where the minimum system RAM (in MB) is returned.

  2. [out] maxValue adlx_int* The pointer to a variable where the maximum system RAM (in MB) is returned.

Return Value

If the system RAM range is successfully returned, ADLX_OK is returned.

If the system RAM range is not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Remarks

The minimum and maximum system RAM are read only.

Requirements

Header

include “IPerformanceMonitoring.h”

Minimum version

1.0