SetMaxDataSize

Function Usage

This function is used to set the maximum memory size allowed for a MemoryData object.

Prototype

1
static APP_ERROR MemoryHelper::SetMaxDataSize(long size);

Parameters

Parameter

Input/Output

Description

size

Input

Maximum memory size, in bytes. Value range: 1 ≤ size ≤ 4294967296

Response Parameters

Data Structure

Description

APP_ERROR

For details about the returned error codes, see APP_ERROR Description.