home *** CD-ROM | disk | FTP | other *** search
/ Boston 2 / boston-2.iso / DOS / PROGRAM / C / TEMPLATE / TESTINC.H < prev    next >
Text File  |  1993-12-01  |  1KB  |  30 lines

  1. #define DEBUG                1
  2. #define DEBUGFILE            1
  3. #define MAXEVENTQSIZE        2000
  4. #define STARTPOSITION        0L
  5. #define ENDOFFILE            2
  6. #define MAXWAITMSECS       100L
  7. #define BUFFERSIZE         255
  8. #define MAXNUMBUFFS         60
  9. typedef struct {
  10.                 WORD  wNumEvents;
  11.                 WORD  wNumEventsPlayed;
  12.                 DWORD dwStartPlaybackTime;
  13.                 char  FixedTiming[5];
  14.                 WORD  wNumIterations;
  15.                 WORD  wNumIterationsPlayed;
  16.                 WORD  wTimebetEvents;
  17.                 WORD  wPercentofTime;
  18.                 WORD  wNumEventstoBypass;
  19.                 WORD  wNumEventsBypassed;
  20.                 WORD  wMemUtilized;
  21.                 WORD  wBufferSize;
  22.                 WORD  wNumEventsBuffered;
  23.                 } EVENTQSTAT;
  24.  
  25. typedef EVENTQSTAT FAR *LPEVENTQSTAT;
  26.  
  27. DWORD FAR PASCAL JournalRecordHook(int nCode, WORD wParam, LPEVENTMSGMSG lpEventMsg);
  28. DWORD FAR PASCAL JournalPlaybackHook(int nCode, WORD wParam, LPEVENTMSGMSG lpEventMsg);
  29. BOOL  WriteFile(LPSTR lpWrFileName, LPSTR lpBuffer);
  30.