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.

42 lines
1.4 KiB

  1. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  2. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  3. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  4. // PARTICULAR PURPOSE.
  5. //
  6. // Copyright (C) 1995 Microsoft Corporation. All Rights Reserved.
  7. //
  8. // PURPOSE:
  9. // Contains public declarations for the TapiInfo module.
  10. //
  11. #define OutputDebugLineError(lLineError, pszPrefix) \
  12. OutputDebugLineErrorFileLine(lLineError, pszPrefix,\
  13. __FILE__, __LINE__)
  14. #define OutputDebugLastError(dwLastError, pszPrefix) \
  15. OutputDebugLastErrorFileLine(dwLastError, pszPrefix,\
  16. __FILE__, __LINE__)
  17. void OutputDebugLineErrorFileLine(
  18. long lLineError, LPSTR szPrefix,
  19. LPSTR szFileName, DWORD nLineNumber);
  20. void OutputDebugLastErrorFileLine(
  21. DWORD dwLastError, LPSTR szPrefix,
  22. LPSTR szFileName, DWORD nLineNumber);
  23. void OutputDebugLineCallback(
  24. DWORD dwDevice, DWORD dwMsg, DWORD dwCallbackInstance,
  25. DWORD dwParam1, DWORD dwParam2, DWORD dwParam3);
  26. void __cdecl OutputDebugPrintf(LPCSTR lpszFormat, ...);
  27. LPSTR FormatLineError(long lLineError,
  28. LPSTR szOutputBuffer, DWORD dwSizeofOutputBuffer);
  29. LPSTR FormatLastError(DWORD dwLastError,
  30. LPSTR szOutputBuffer, DWORD dwSizeofOutputBuffer);
  31. LPSTR FormatLineCallback(LPSTR pszOutputBuffer,
  32. DWORD dwDevice, DWORD dwMsg, DWORD dwCallbackInstance,
  33. DWORD dwParam1, DWORD dwParam2, DWORD dwParam3);