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.

37 lines
797 B

  1. #ifndef _FILTER_H_
  2. #define _FILTER_H_
  3. //
  4. // Constant declarations
  5. //
  6. //
  7. // Structure definitions
  8. //
  9. typedef struct _MODULEFILTER
  10. {
  11. DWORD dwModuleStart; // Starting address of the module to filter
  12. DWORD dwModuleEnd; // Ending address of the module to filter
  13. CHAR szModuleName[64];
  14. struct _MODULEFILTER *pNextFilter; // Used to iterate the module filter normally
  15. } MODULEFILTER, *PMODULEFILTER;
  16. //
  17. // Function definitions
  18. //
  19. BOOL
  20. InitializeFilterList(VOID);
  21. BOOL
  22. AddModuleToFilterList(CHAR *pszModuleName,
  23. DWORD dwStartAddress,
  24. DWORD dwEndAddress,
  25. BOOL bLateBound);
  26. BOOL
  27. IsAddressFiltered(DWORD dwAddress);
  28. VOID
  29. RefreshFilterList(VOID);
  30. #endif //_FILTER_H_