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.

30 lines
875 B

  1. #define MAX_VAR_ARGS 16
  2. #define MAX_LOG_STRING 64
  3. VOID NDDELogErrorA(DWORD EventId, ...);
  4. VOID NDDELogWarningA(DWORD EventId, ...);
  5. VOID NDDELogInfoA(DWORD EventId, ...);
  6. VOID NDDELogDataA(DWORD EventId, DWORD cbData, LPVOID lpvData);
  7. LPSTR LogStringA(LPSTR szFormat, ...);
  8. VOID NDDELogErrorW(DWORD EventId, ...);
  9. VOID NDDELogWarningW(DWORD EventId, ...);
  10. VOID NDDELogInfoW(DWORD EventId, ...);
  11. VOID NDDELogDataW(DWORD EventId, DWORD cbData, LPVOID lpvData);
  12. LPWSTR LogStringW(LPWSTR szFormat, ...);
  13. #ifdef UNICODE
  14. #define NDDELogError NDDELogErrorW
  15. #define NDDELogWarning NDDELogWarningW
  16. #define NDDELogInfo NDDELogInfoW
  17. #define NDDELogData NDDELogDataW
  18. #define LogString LogStringW
  19. #else
  20. #define NDDELogError NDDELogErrorA
  21. #define NDDELogWarning NDDELogWarningA
  22. #define NDDELogInfo NDDELogInfoA
  23. #define NDDELogData NDDELogDataA
  24. #define LogString LogStringA
  25. #endif