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.1 KiB

  1. #ifndef _SOFTPCITREEH_
  2. #define _SOFTPCITREEH_
  3. extern BOOL g_TreeCreated;
  4. extern BOOL g_TreeLocked;
  5. extern BOOL g_PendingRefresh;
  6. extern PPCI_TREE g_PciTree;
  7. extern LONG_PTR g_DefTreeWndProc;
  8. extern PWCHAR g_LastSelection;
  9. typedef VOID (*PSOFTPCI_TREECALLBACK)(HTREEITEM, PVOID, PVOID);
  10. VOID
  11. SoftPCI_CreateTreeView(
  12. VOID
  13. );
  14. VOID
  15. SoftPCI_DestroyTree(
  16. IN PPCI_TREE PciTree
  17. );
  18. VOID
  19. SoftPCI_OnTreeSelectionChange(
  20. IN HWND Wnd
  21. );
  22. LRESULT
  23. WINAPI
  24. SoftPCI_TreeWndProc(
  25. IN HWND hWnd,
  26. IN UINT Message,
  27. IN WPARAM wParam,
  28. IN LPARAM lParam
  29. );
  30. PPCI_DN
  31. SoftPCI_GetDnFromTreeItem(
  32. IN HTREEITEM TreeItem
  33. );
  34. #if 0
  35. VOID
  36. SoftPCI_GetDnFromTree(
  37. IN HTREEITEM Hti,
  38. IN OUT PVOID Pdn, //PPCI_DN *
  39. IN PVOID PdnToFind
  40. );
  41. #endif
  42. VOID
  43. SoftPCI_WalkTree(
  44. IN HTREEITEM Hti,
  45. IN PSOFTPCI_TREECALLBACK TreeCallback,
  46. IN PVOID Arg1,
  47. IN PVOID Arg2
  48. );
  49. #endif