CDiagnostics::GetErrorNum