home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l430 / 1.ddi / CHAP5.ZIP / TASKQ.H < prev    next >
Encoding:
C/C++ Source or Header  |  1992-06-11  |  714 b   |  32 lines

  1. /* 
  2. TASKQ.H -- Task Queue structure
  3.  
  4. from "Undocumented Windows" by Schulman et al. (Addison-Wesley, 1992)
  5. Chapters 5 & 6
  6.  
  7. Copyright (c) Andrew Schulman, 1992
  8. */
  9.  
  10. #ifdef __cplusplus
  11. extern "C" {
  12. #endif
  13.  
  14. typedef struct
  15. {
  16.     WORD    Next;                   // 0
  17.     WORD    hTask;                  // 2
  18.     WORD    msgSize;                // 4
  19.     WORD    msgCount;               // 6
  20.     WORD    nextMessageOffset;      // 8
  21.     WORD    nextFreeMessageOffset;  // 0A
  22.     WORD    endOfQueue;             // 0C
  23.     DWORD   GetMessageTimeRetval;   // 0E
  24.     DWORD   GetMessagePosRetval;    // 12
  25.     WORD    messageQueueStart;      // 16
  26. }   MESSAGEQUEUE;
  27.  
  28. #ifdef __cplusplus
  29. }
  30. #endif
  31.  
  32.