GetMemoryCE
- Last UpdatedOct 29, 2026
- 1 minute read
Returns the total memory available in a Windows Embedded device.
|
Function |
Group |
Execution |
String Exp. |
Windows |
Windows Embedded |
IoT View |
Thin Clients |
Mobile Access |
|---|---|---|---|---|---|---|---|---|
|
GetMemoryCE |
System Info |
Synchronous |
Yes |
Not supported |
Supported |
Not supported |
Supported |
Not supported |
Syntax
GetMemoryCE ( { | optNumType } )
optNumType
A numeric flag that specifies which type of memory the project should retrieve from the device:
|
Value |
Description |
|---|---|
|
0 |
Total program memory |
|
1 |
Total storage memory |
|
2 |
Total memory |
This is an optional parameter; if no value is specified, then the default is 0.
Returned value
|
>0 |
Size of memory in bytes. |
|
-1 |
Coredll.dll file not found. |
|
-2 |
GetMemoryCE function not found. |
|
-3 |
Invalid optional parameter. |
Examples
|
Tag Name |
Expression |
|---|---|
|
Tag |
GetMemoryCE( 1 ) |