anyKode Marilou
ContentsIndexHome
PreviousUpNext
ModaEntity::GetLastSystemError

Getting the latest system error.

C++
M32 GetLastSystemError(void);

Latest system error, MODA_EOK if no error.

The return value is the last-error code value: You should call the GetLastError function immediately when a function's return value indicates that such a call will return useful data. That is because some functions call SetLastError(MODA_EOK) when they succeed, wiping out the error code set by the most recently failed function.

User can reset this value calling ResetLastSystemError. 'System' error is not 'device' error. See Message function to learn mode about errors.

Documentation v4.7 (18/01/2015), Copyright (c) 2015 anyKode. All rights reserved.
What do you think about this topic? Send feedback!