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.

30 lines
528 B

  1. #ifndef _CAP_H_
  2. #define _CAP_H_
  3. //
  4. // Constant declarations
  5. //
  6. #define MAX_CAP_LEVEL 0x10
  7. #define MAX_CAP_ITERATION 0x03
  8. #define CAP_BUFFER_SIZE MAX_CAP_LEVEL * 2
  9. //
  10. // Structure definitions
  11. //
  12. typedef struct _CAPFILTER
  13. {
  14. DWORD dwIterationLock;
  15. DWORD dwIterationLevel;
  16. DWORD dwRunLength;
  17. DWORD dwCursor;
  18. DWORD dwArray[CAP_BUFFER_SIZE];
  19. } CAPFILTER, *PCAPFILTER;
  20. //
  21. // Function definitions
  22. //
  23. BOOL
  24. AddToCap(PCAPFILTER pCapFilter,
  25. DWORD dwAddress);
  26. #endif //_CAP_H_