home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Programmer's Library 1.3 / Microsoft-Programers-Library-v1.3.iso / sampcode / msj / msjv3_3 / dllcode / chat.h next >
Encoding:
C/C++ Source or Header  |  1989-03-02  |  1.6 KB  |  59 lines

  1. /*
  2.  
  3. Microsoft Systems Journal
  4. Volume 3; Issue 3; May, 1988
  5.  
  6. Code Listings For:
  7.  
  8.     DLL_CHAT; DLL_LIB; CHATMEM
  9.     pp. 27-48
  10.  
  11.  
  12. Author(s): Ross M. Greenberg
  13. Title:     Design Concepts and Considerations in Building an OS/2
  14.            Dynamic-Link Library
  15.  
  16. */
  17.  
  18. /* Header file for CHAT */
  19.  
  20. struct gdtinfoarea{
  21.         unsigned long   time;
  22.         unsigned long   milliseconds;
  23.         unsigned char   hours;
  24.         unsigned char   minutes;
  25.         unsigned char   seconds;
  26.         unsigned char   hundreths;
  27.         unsigned        timezone;
  28.         unsigned        timer_interval;
  29.         unsigned char   day;
  30.         unsigned char   month;
  31.         unsigned        year;
  32.         unsigned char   day_of_week;
  33.         unsigned char   major_version;
  34.         unsigned char   minor_version;
  35.         unsigned char   revision_number;
  36.         unsigned char   current_screen_group;
  37.         unsigned char   max_num_of_screengrps;  
  38.         unsigned char   huge_selector_shift_count;
  39.         unsigned char   protect_mode_indicator;
  40.     unsigned    foreground_process_id;
  41.         unsigned char   dynamic_variation_flag;
  42.         unsigned char   maxwait;
  43.         unsigned        minimum_timeslice;
  44.         unsigned        maximum_timeslice;
  45.     unsigned    boot_drive;
  46.     unsigned char    reserved[32];
  47.  };
  48.  
  49.  
  50.  struct ldtinfoarea{
  51.         unsigned        current_process_pid;
  52.         unsigned        parent_pid;
  53.         unsigned        priority_of_current_thread;
  54.         unsigned        thread_id_of_current_thread;
  55.         unsigned        screen_group;
  56.         unsigned        subscreen_group;
  57.         unsigned        current_process_is_in_fg;
  58.  };
  59.