home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / winbase / security / winnt / gina / debug.h < prev    next >
C/C++ Source or Header  |  1997-10-09  |  780b  |  47 lines

  1. //+---------------------------------------------------------------------------
  2. //
  3. //  Microsoft Windows
  4. //  Copyright 1992 - 1997 Microsoft Corporation.
  5. //
  6. //  File:       debug.h
  7. //
  8. //  Contents:
  9. //
  10. //  Classes:
  11. //
  12. //  Functions:
  13. //
  14. //  History:    8-02-94   RichardW   Created
  15. //
  16. //----------------------------------------------------------------------------
  17.  
  18.  
  19. #ifndef __DEBUG_H__
  20. #define __DEBUG_H__
  21.  
  22. #if DBG
  23.  
  24. extern  DWORD   GINAInfoLevel;
  25.  
  26. #define DebugLog(x) LogEvent x
  27.  
  28.  
  29. void    LogEvent(long, const char *, ...);
  30. void    InitDebugSupport(void);
  31.  
  32. #define DEB_ERROR           0x00000001
  33. #define DEB_WARN            0x00000002
  34. #define DEB_TRACE           0x00000004
  35.  
  36.  
  37.  
  38. #else
  39.  
  40. #define DebugLog(x)
  41.  
  42. #endif
  43.  
  44.  
  45.  
  46. #endif // __DEBUG_H__
  47.