Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.0 KiB

  1. /*+-------------------------------------------------------------------------+
  2. | Copyright 1993-1994 (C) Microsoft Corporation - All rights reserved. |
  3. +-------------------------------------------------------------------------+*/
  4. #ifndef _NWLOG_
  5. #define _NWLOG_
  6. #ifdef __cplusplus
  7. extern "C"{
  8. #endif
  9. void LogInit();
  10. void LogWriteLog(int Level, LPTSTR szFormat, ...);
  11. void LogWriteErr(LPTSTR szFormat, ...);
  12. void LogWriteSummary(int Level, LPTSTR szFormat, ...);
  13. void GetTime(TCHAR *str);
  14. void ErrorResetAll();
  15. void ErrorContextSet(LPTSTR szFormat, ...);
  16. void ErrorCategorySet(LPTSTR szFormat, ...);
  17. void ErrorItemSet(LPTSTR szFormat, ...);
  18. void ErrorReset();
  19. void ErrorSet(LPTSTR szFormat, ...);
  20. BOOL ErrorOccured();
  21. void ErrorBox(LPTSTR szFormat, ...);
  22. int ErrorBoxRetry(LPTSTR szFormat, ...);
  23. void LogOptionsInit();
  24. void LogOptionsSave( HANDLE hFile );
  25. void LogOptionsLoad( HANDLE hFile );
  26. BOOL PopupOnError();
  27. BOOL VerboseFileLogging();
  28. BOOL VerboseUserLogging();
  29. void DoLoggingDlg(HWND hDlg);
  30. #ifdef __cplusplus
  31. }
  32. #endif
  33. #endif