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.1 KiB

  1. /*++
  2. Copyright (c) 1997 Microsoft Corporation
  3. Module Name:
  4. ntlog.h
  5. Abstract:
  6. This module contains the necessary ntlog definitions
  7. Author:
  8. Steven Kehrli (steveke) 11/15/1997
  9. --*/
  10. #ifndef _NTLOG_H
  11. #define _NTLOG_H
  12. #define TLS_INFO 0x00002000L // Log at information level
  13. #define TLS_SEV2 0x00000004L // Log at severity 2 level
  14. #define TLS_WARN 0x00000010L // Log at warn level
  15. #define TLS_PASS 0x00000020L // Log at pass level
  16. #define TLS_TEST 0x00000100L // Log at test level
  17. #define TLS_VARIATION 0x00000200L // Log at variation level
  18. #define TLS_REFRESH 0x00010000L // Create new log file
  19. #define TL_TEST TLS_TEST , TEXT(__FILE__), (int)__LINE__
  20. #define TL_VARIATION TLS_VARIATION, TEXT(__FILE__), (int)__LINE__
  21. typedef HANDLE (APIENTRY *PTLCREATELOG) (LPCWSTR, DWORD);
  22. typedef BOOL (APIENTRY *PTLDESTROYLOG) (HANDLE);
  23. typedef BOOL (APIENTRY *PTLADDPARTICIPANT) (HANDLE, DWORD, int);
  24. typedef BOOL (APIENTRY *PTLREMOVEPARTICIPANT) (HANDLE);
  25. typedef BOOL FAR (cdecl *PTLLOG) (HANDLE, DWORD, LPCWSTR, int, LPCWSTR, ...);
  26. #endif