GetFreeMemoryCE

Returns the free memory available in a Windows Embedded device.

Function Group Execution Windows Embedded Thin Client Mobile Access
GetFreeMemoryCE System Info Synchronous Not supported Supported Supported Not supported

Syntax

Web Studio Help  systeminfo getfreememoryce.xml d216692e76 GetFreeMemoryCE
optNumType
A numeric flag that specifies which type of free memory the project should retrieve from the device:
Value Description
0 Total free program memory

This is an optional parameter; if no value is specified, then the default is 0.

Returned value

>0 Size of free memory in bytes.
−1 Coredll.dll file not found.
−2 GetMemoryCE function not found.
−3 Invalid optional parameter.
−4 Type of memory unavailable.

Examples

Tag Name Expression
Tag GetFreeMemoryCE()

GetFreeMemoryCE