Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.1 KiB

  1. /* File: C:\WACKER\TDLL\VU_METER.HH (Created: 10-Jan-1994)
  2. * Created from:
  3. * File: C:\HA5G\ha5g\s_text.hh (Created: 27-SEP-1991)
  4. *
  5. * Copyright 1990 by Hilgraeve Inc. -- Monroe, MI
  6. * All rights reserved
  7. *
  8. * $Revision: 1 $
  9. * $Date: 10/05/98 12:40p $
  10. */
  11. // #define STXT_DEF_DEPTH 3
  12. #define STXT_DEF_DEPTH 1
  13. struct s_vumeter
  14. {
  15. ULONG ulCheck; /* Validity check field */
  16. ULONG cBackGround; /* Fill color for background */
  17. ULONG cFillColor; /* Color to use for progress display */
  18. ULONG cRefillColor; /* Color used in retries progress display */
  19. ULONG cMarkColor; /* Color used when retries are going */
  20. ULONG cUpperEdge; /* Upper and left edge 3D border color */
  21. ULONG cLowerEdge; /* Lower and right edge 3D border color */
  22. ULONG ulMaxRange; /* Maximum range value */
  23. ULONG ulHiValue; /* Highest value so far */
  24. ULONG ulCurValue; /* Current value */
  25. USHORT usDepth;
  26. };
  27. #define VUMETER_VALID 0x744D7556
  28. typedef struct s_vumeter VUMETER;
  29. typedef VUMETER FAR *LPVM;
  30. #define VUMETER_OK(x) ((x!=NULL)&&(x->ulCheck==VUMETER_VALID))