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.

63 lines
1.5 KiB

  1. /****************************************************************************
  2. *****************************************************************************
  3. *
  4. * ******************************************
  5. * * Copyright (c) 1996, Cirrus Logic, Inc. *
  6. * * All Rights Reserved *
  7. * ******************************************
  8. *
  9. * PROJECT: Laguna I (CL-GD546x) -
  10. *
  11. * FILE: logfile.h
  12. *
  13. * AUTHOR: Sue Schell
  14. *
  15. * DESCRIPTION:
  16. * This file contains the definitions needed for the
  17. * log file option.
  18. *
  19. *
  20. * REVISION HISTORY:
  21. *
  22. * $Log: X:/log/laguna/nt35/miniport/cl546x/logfile.h $
  23. *
  24. * Rev 1.1 26 Nov 1996 08:50:36 SueS
  25. * Added function to close the log file.
  26. *
  27. * Rev 1.0 13 Nov 1996 15:33:10 SueS
  28. * Initial revision.
  29. *
  30. ****************************************************************************
  31. ****************************************************************************/
  32. ///////////////
  33. // Defines //
  34. ///////////////
  35. //
  36. // 0 = Normal operation
  37. // 1 = Log information that display driver sends to us to a file.
  38. //
  39. #define LOG_FILE 0
  40. #if LOG_FILE
  41. ///////////////////////////
  42. // Function Prototypes //
  43. ///////////////////////////
  44. HANDLE CreateLogFile(void);
  45. BOOLEAN WriteLogFile(
  46. HANDLE FileHandle,
  47. PVOID InputBuffer,
  48. ULONG InputBufferLength
  49. );
  50. BOOLEAN CloseLogFile(
  51. HANDLE FileHandle
  52. );
  53. #endif // LOG_FILE