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.

78 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 1989-2000 Microsoft Corporation
  3. Module Name:
  4. CSearch.h
  5. Abstract:
  6. Header for the CSearch.cpp
  7. Author:
  8. kinshu created July 2,2001
  9. --*/
  10. #ifndef _CSEARCH_H
  11. #define _CSEARCH_H
  12. #include "compatadmin.h"
  13. extern "C" {
  14. #include "shimdb.h"
  15. }
  16. /*++
  17. class CSearch
  18. Desc: Make a object of this class and call Begin() to call the search window
  19. Members:
  20. HWND m_hStatusBar: We just put this as a member because we were trying to avoid
  21. global variables in csearch.cpp initially. Now we have plentiful of them :-(
  22. And calling GetDlgItem() whenever we get a file (we need to show the file name in
  23. the status bar) was not a very good idea.
  24. --*/
  25. class CSearch
  26. {
  27. public:
  28. HWND m_hStatusBar;
  29. void Begin();
  30. };
  31. void
  32. GotoEntry(
  33. PMATCHEDENTRY pmMatched
  34. );
  35. void
  36. Search(
  37. HWND hDlg,
  38. LPCTSTR szSearch
  39. );
  40. BOOL
  41. HandleSearchListNotification(
  42. HWND hdlg,
  43. LPARAM lParam
  44. );
  45. void
  46. ClearResults(
  47. HWND hdlg,
  48. BOOL bClearSearchPath
  49. );
  50. void
  51. CleanUpListView(
  52. HWND hdlg
  53. );
  54. #endif