Documentation

ResetLastError

Sets the value of the predefined variable _LastError into zero.

void  ResetLastError();

Return Value

No return value.

Note

It should be noted that the GetLastError() function doesn't zero _LastError variable. Usually ResetLastError() is called befor function call, after which error appearance is checked.