home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 2 / DATAFILE_PDCD2.iso / utilities2 / desklib / Libraries / WimpSWIs / s / Wimp11 < prev    next >
Encoding:
Text File  |  1992-03-04  |  1.2 KB  |  46 lines

  1. ;
  2. ;       Title                  : Wimp Get Window State
  3. ;       System                 : Wimp Library
  4. ;       Version                : 1.0
  5. ;       Copyright              : (C) John Winters
  6. ;       Date                   : 12th January, 1990
  7. ;       Author                 : John H. Winters
  8. ;
  9. ;       Function               : Gets the state of a window.
  10. ;
  11. ;
  12. ;       Modification history.
  13. ;
  14. ;       Version                : (Reflect in header IDENT)
  15. ;       Date                   : 
  16. ;       Author                 : 
  17. ;       Changes                : 
  18. ;
  19. ;
  20. ;============================================================================
  21. ;
  22. ;  Include files.
  23. ;
  24. ;============================================================================
  25. ;
  26.         GET     h.regdefs
  27.         GET     h.swinos
  28.         GET     h.macros
  29. ;
  30. ;============================================================================
  31. ;
  32. ;  Code.
  33. ;
  34. ;============================================================================
  35. ;
  36.         PREAMBLE
  37.         STARTCODE Wimp_GetWindowState
  38. ;
  39.         STMFD   sp!, {lr}
  40.         STR     a1, [a2, #0]
  41.         SWI     SWI_Wimp_GetWindowState + XOS_Bit
  42.         MOVVC   a1, #0
  43.         LDMFD   sp!, {pc}^
  44. ;
  45.         END
  46.