home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / crt / src / timeb.inc < prev    next >
Text File  |  1998-06-17  |  1KB  |  33 lines

  1. ;***
  2. ;timeb.inc - definition of the C Run-Time Library "timeb" structure
  3. ;
  4. ;       Copyright (c) 1992-1997, Microsoft Corporation. All rights reserved.
  5. ;
  6. ;Purpose:
  7. ;       Analog of <sys/timeb.h> for assembler routines.
  8. ;
  9. ;Notes:
  10. ;       This file must reflect the structure "timeb" defined in <sys/timeb.h>
  11. ;       and is dependent on the alignment characteristics of the Intel 386;
  12. ;       namely, that words ("shorts") are aligned on even addresses and
  13. ;       dwords ("longs") are aligned on quad addresses.
  14. ;
  15. ;       Important: MIPS follows the Intel 386 convention as well.
  16. ;
  17. ;******************************************************************************
  18.  
  19. ;struct _timeb {
  20. ;       time_t time;
  21. ;       unsigned short millitm;
  22. ;       short tmzone;
  23. ;       short dstflag;
  24. ;       };
  25.  
  26. _timeb  STRUC
  27.         _time           dd      ?
  28.         _millitm        dw      ?
  29.         _tmzone         dw      ?
  30.         _dstflag        dw      ?
  31.         __padding__     dw      ?       ; pad the structure out to
  32. _timeb  ENDS                            ; an even number of DWORDs
  33.