Do not raise an exception when GetLastError() reports no error