Leaked source code of windows server 2003
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.

70 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 1997-1999 Microsoft Corporation
  3. Module Name:
  4. frsevent.c
  5. Abstract:
  6. Provide an interface to the event logging stuff. Currently, these are just
  7. dummy routines.
  8. Author:
  9. Billy J. Fuller 20-Mar-1997 (From Jim McNelis)
  10. Environment
  11. User mode winnt
  12. --*/
  13. #include <ntreppch.h>
  14. #pragma hdrstop
  15. #define DEBSUB "FRSEVENT:"
  16. #include <frs.h>
  17. VOID
  18. LogFrsException(
  19. FRS_ERROR_CODE Code,
  20. ULONG_PTR Err,
  21. PWCHAR ErrMsg
  22. )
  23. /*++
  24. Routine Description:
  25. Dummy routine
  26. Arguments:
  27. Code - FRS exception code
  28. Err - ExceptionInformation[0]
  29. ErrMsg - Text describing Err
  30. Return Value:
  31. None.
  32. --*/
  33. {
  34. if (Err != 0) {
  35. DPRINT3(1, "Exception %d: %ws %d\n", Code, ErrMsg, Err);
  36. } else {
  37. DPRINT2(1, "Exception %d: %ws\n", Code, ErrMsg);
  38. }
  39. }
  40. VOID
  41. LogException(
  42. ULONG Code,
  43. PWCHAR Msg
  44. )
  45. /*++
  46. Routine Description:
  47. Dummy routine
  48. Arguments:
  49. Code - FRS exception code
  50. Msg - Text describing Code
  51. Return Value:
  52. None.
  53. --*/
  54. {
  55. DPRINT2(1, "Exception %d: %ws\n", Code, Msg);
  56. }