CDiagnostics::GetWarningNum