home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / netds / winsock / dt_dll / dt.h < prev    next >
Text File  |  1997-09-21  |  1KB  |  53 lines

  1. /*++
  2.  
  3.   Copyright (c) 1995 Intel Corp
  4.  
  5.   Module Name:
  6.  
  7.     dt.h
  8.  
  9.   Abstract:
  10.  
  11.     Header file containing definitions, function prototypes, and other
  12.     stuff for internal use of the debug/trace dll.
  13.  
  14. --*/
  15.  
  16.  
  17. #define FILE_ONLY 1
  18. #define WINDOW_ONLY 2
  19. #define FILE_AND_WINDOW 3
  20. #define DEBUGGER 4
  21. #define EC_CHILD 1
  22. #define TEXT_LEN 2048
  23. #define MAX_FP   128
  24.  
  25. // resource constants
  26. #define IDD_DIALOG1                     101
  27. #define IDC_RADIO5                      1008
  28. #define IDC_RADIO6                      1009
  29. #define IDC_RADIO7                      1010
  30. #define IDC_RADIO8                      1011
  31. #define IDC_STATIC                      -1
  32.  
  33. // structure to hold init data
  34. typedef struct _INITDATA {
  35.  
  36.     SYSTEMTIME LocalTime;
  37.     DWORD      TID;
  38.     DWORD      PID;
  39.  
  40. } INITDATA, *PINITDATA;
  41.  
  42. BOOL
  43. DTTextOut(
  44.     IN HWND   WindowHandle,
  45.     IN HANDLE FileHandle,
  46.     IN char   *String,
  47.     IN DWORD  Style);
  48.  
  49. extern HWND   DebugWindow;
  50. extern HANDLE LogFileHandle;
  51. extern DWORD  OutputStyle;
  52. extern char   Buffer[TEXT_LEN];
  53.