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.

56 lines
898 B

  1. /*++
  2. Copyright (c) 1989-2000 Microsoft Corporation
  3. Module Name:
  4. CTree.h
  5. Abstract:
  6. Header file for CTree.cpp: Wrapper for some general tree functions
  7. Author:
  8. kinshu created October 15, 2001
  9. --*/
  10. class CTree
  11. {
  12. public:
  13. static
  14. BOOL
  15. SetLParam(
  16. HWND hwndTree,
  17. HTREEITEM hItem,
  18. LPARAM lParam
  19. );
  20. static
  21. BOOL
  22. GetLParam(
  23. HWND hwndTree,
  24. HTREEITEM hItem,
  25. LPARAM *plParam
  26. );
  27. static
  28. HTREEITEM
  29. FindChild(
  30. HWND hwndTree,
  31. HTREEITEM hItemParent,
  32. LPARAM lParam
  33. );
  34. static
  35. BOOL
  36. GetTreeItemText(
  37. HWND hwndTree,
  38. HTREEITEM hItem,
  39. PTSTR pszText,
  40. UINT cchText
  41. );
  42. };