GetLastError does NOT display any message. It only returns you the error code!
It's up to you how to output or display error message.