home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 10 / ioProg_10.iso / soft / platsdk / inetwork.exe / TAPI-S.cab / 45TAPIINFO.H < prev    next >
Encoding:
C/C++ Source or Header  |  1997-10-05  |  1.5 KB  |  43 lines

  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-1997  Microsoft Corporation.  All Rights Reserved.
  7. //
  8. // PURPOSE:
  9. //    Contains public declarations for the TapiInfo module.
  10. //
  11.  
  12. #define OutputDebugLineError(lLineError, pszPrefix) \
  13.     OutputDebugLineErrorFileLine(lLineError, pszPrefix,\
  14.         __FILE__, __LINE__)
  15.  
  16. #define OutputDebugLastError(dwLastError, pszPrefix) \
  17.     OutputDebugLastErrorFileLine(dwLastError, pszPrefix,\
  18.         __FILE__, __LINE__)
  19.  
  20. void OutputDebugLineErrorFileLine(
  21.     long lLineError, LPSTR szPrefix, 
  22.     LPSTR szFileName, DWORD nLineNumber);
  23.  
  24. void OutputDebugLastErrorFileLine(
  25.     DWORD dwLastError, LPSTR szPrefix, 
  26.     LPSTR szFileName, DWORD nLineNumber);
  27.  
  28. void OutputDebugLineCallback(
  29.     DWORD dwDevice, DWORD dwMsg, DWORD dwCallbackInstance, 
  30.     DWORD dwParam1, DWORD dwParam2, DWORD dwParam3);
  31.  
  32. void __cdecl OutputDebugPrintf(LPCSTR lpszFormat, ...);
  33.  
  34. LPSTR FormatLineError(long lLineError,
  35.     LPSTR szOutputBuffer, DWORD dwSizeofOutputBuffer);
  36.  
  37. LPSTR FormatLastError(DWORD dwLastError,
  38.     LPSTR szOutputBuffer, DWORD dwSizeofOutputBuffer);
  39.  
  40. LPSTR FormatLineCallback(LPSTR pszOutputBuffer,
  41.     DWORD dwDevice, DWORD dwMsg, DWORD dwCallbackInstance, 
  42.     DWORD dwParam1, DWORD dwParam2, DWORD dwParam3);
  43.