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.

61 lines
1.3 KiB

  1. /*
  2. * Module Name: WSEXPORT.H
  3. *
  4. * Description:
  5. *
  6. * Working set tuner include file for WSINFO and WSEXPORT. Contains
  7. * common constant definitions.
  8. *
  9. *
  10. * This is an OS/2 2.x specific file
  11. *
  12. * IBM/Microsoft Confidential
  13. *
  14. * Copyright (c) IBM Corporation 1987, 1989
  15. * Copyright (c) Microsoft Corporation 1987, 1989
  16. *
  17. * All Rights Reserved
  18. *
  19. * Modification History:
  20. *
  21. * 03/23/90 - created
  22. *
  23. */
  24. /*
  25. * Constant definitions.
  26. */
  27. #define DEFAULT_DELAY 0 /* Defaults for command line arguments */
  28. #define DEFAULT_RATE 1000
  29. #define DEFAULT_BUFSZ 0x100000
  30. #define DEFAULT_SNAPS 0
  31. #define TIMEOUT 1000 /* Default timeout value */
  32. #define WSINFO_ON 1 /* Defines for argv[1] */
  33. #define WSINFO_OFF 0
  34. #define WSINFO_PAUSE 2
  35. #define WSINFO_RESUME 3
  36. #define WSINFO_QUERY 4
  37. #define WSINFO_MAX 5
  38. #define SEM_ACQUIRED 0x1 /* Resource definitions */
  39. #define SEM_OPEN 0x2
  40. #ifdef SHM_USED
  41. #define SHM_OPEN 0x4
  42. #endif /* SHM_USED */
  43. /*
  44. * Function prototypes.
  45. */
  46. USHORT FAR PASCAL WsInfoOn( VOID );
  47. USHORT FAR PASCAL WsInfoOff( VOID );
  48. USHORT FAR PASCAL WsInfoPause( VOID );
  49. USHORT FAR PASCAL WsInfoResume( VOID );
  50. USHORT FAR PASCAL WsInfoQuery( VOID );
  51. USHORT FAR PASCAL WsInfoInit( PSZ, PSZ, PSZ, ULONG, ULONG, ULONG, BOOL, BOOL );