home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c480 / 20.ddi / SAMPLES / DBWIN / DBWINDLP.H_ / DBWINDLP.H
Encoding:
C/C++ Source or Header  |  1993-02-08  |  1.3 KB  |  56 lines

  1. #include <windows.h>
  2. #include <windowsx.h>
  3. #include <commdlg.h>
  4. #include <toolhelp.h>
  5. #include "dbwindll.h"
  6.  
  7. // Max buffer size
  8. #define     CCHBUFFERMAX 8192
  9.  
  10. BOOL CALLBACK LibMain(HINSTANCE hinst, UINT wDS, UINT cbHeap, DWORD unused);
  11. BOOL CALLBACK _export _loadds _WEP(BOOL fSystemExit);
  12.  
  13. // Private entry points
  14.  
  15. BOOL CALLBACK _export _loadds NotifyCallback(WORD id, DWORD dwData);
  16.  
  17. // Buffered output
  18.  
  19. BOOL BufferOut(LPCSTR lpszOut);
  20. UINT DBStrCpy(char* pszDst, LPCSTR pszSrc, int far* pcLines);
  21.  
  22. // Monochrome output
  23.  
  24. BOOL MonoQuery(void);
  25. BOOL MonoOpen(void);
  26. BOOL MonoClose(void);
  27. BOOL MonoOut(LPCSTR lpsz);
  28. BOOL MonoInUse(void);
  29.  
  30. // COM output
  31.  
  32. BOOL ComQuery(int port);
  33. BOOL ComOpen(int port);
  34. BOOL ComClose(void);
  35. BOOL ComOut(LPCSTR lpsz);
  36. int  ComIn(void);
  37.  
  38. // Notification formatting
  39.  
  40. void FormatLogError(char FAR* lpch, NFYLOGERROR FAR* lple);
  41. void FormatLogParamError(char FAR* lpch, NFYLOGPARAMERROR FAR* lplpe);
  42. void FormatRip(LPSTR lpsz, NFYRIP FAR* lprip);
  43.  
  44. int _cdecl dbprintf(LPSTR lpszOut, LPCSTR lpszFmt, ...);
  45.  
  46. int GetProcName(LPSTR lpch, FARPROC lpfn);
  47. int GetTaskName(LPSTR lpch, HTASK htask);
  48. LPSTR DecOut(LPSTR lpch, short value);
  49. LPSTR HexOut(LPSTR lpch, WORD value);
  50.  
  51. // Task filter
  52.  
  53. BOOL CheckTaskFilter(void);
  54. void TaskFilterStartTask(void);
  55. void TaskFilterExitTask(void);
  56.