Get the state of the memory option.
Ret = LoggerGetMemoryOption ( AppId , MemorySize )
AppId [ VB.NET: Short ] [ C++: short ] [ C#: short ]
Specify Application ID retrieved by LoggerOpenApplication.
MemorySize [ VB.NET: UShort ] [ C++: unsigned short * ] [ C#: out ushort ]
Specify the address for storing the memory size for holding C-LOGGER data.
The unit is 1 million [WORD].
Ret [ VB.NET: Integer ] [ C++: long ] [ C#: int ]
Definition |
Return code [Dec] |
Description |
LOGGER_ERR_SUCCESS |
0 |
Normal completed |
LOGGER_ERR_INVALID_ID |
10010 |
Invalid AppId was specified. |
The others (See also: Error Code List)
Nothing in particular.
Get the state of the memory option.
For more information, see Memory Option topic.
Get the memory size.
VB.NET |
Dim Ret As Integer Ret = LoggerGetMemoryOption(AppId, MemorySize)
|
C++ |
long Ret; Ret = LoggerGetMemoryOption(AppId, &MemorySize);
|
C# |
int Ret; Ret = logger.GetMemoryOption(AppId, out MemorySize);
|
LoggerSetMemoryOption Memory Option