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.

63 lines
713 B

  1. /*++
  2. Copyright (c) 1998-1999 Microsoft Corporation
  3. All rights reserved.
  4. Module Name:
  5. dbgnul.cxx
  6. Abstract:
  7. Debug Device (Null device)
  8. Author:
  9. Steve Kiraly (SteveKi) 5-Dec-1995
  10. Revision History:
  11. --*/
  12. #include "precomp.hxx"
  13. #pragma hdrstop
  14. #include "dbgnul.hxx"
  15. TDebugDeviceNull::
  16. TDebugDeviceNull(
  17. IN LPCTSTR pszConfiguration,
  18. IN EDebugType eDebugType
  19. ) : TDebugDevice( pszConfiguration, eDebugType )
  20. {
  21. }
  22. TDebugDeviceNull::
  23. ~TDebugDeviceNull(
  24. VOID
  25. )
  26. {
  27. }
  28. BOOL
  29. TDebugDeviceNull::
  30. bValid(
  31. VOID
  32. )
  33. {
  34. return TRUE;
  35. }
  36. BOOL
  37. TDebugDeviceNull::
  38. bOutput (
  39. IN UINT uSize,
  40. IN LPBYTE pBuffer
  41. )
  42. {
  43. uSize++;
  44. pBuffer++;
  45. return TRUE;
  46. }