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.

148 lines
2.5 KiB

  1. /*******************************************************************************
  2. *
  3. * (C) COPYRIGHT MICROSOFT CORP., 1993-1994
  4. *
  5. * TITLE: REGKEY.H
  6. *
  7. * VERSION: 4.01
  8. *
  9. * AUTHOR: Tracy Sharpe
  10. *
  11. * DATE: 05 Mar 1994
  12. *
  13. * KeyTreeWnd TreeView routines for the Registry Editor.
  14. *
  15. *******************************************************************************/
  16. #ifndef _INC_REGKEY
  17. #define _INC_REGKEY
  18. VOID
  19. PASCAL
  20. RegEdit_OnNewKey(
  21. HWND hWnd,
  22. HTREEITEM hTreeItem
  23. );
  24. BOOL RegEdit_GetTemporaryKeyName(HWND hWnd, PTSTR pszKeyName, DWORD cchKeyNameMax, HKEY hKey);
  25. LRESULT
  26. PASCAL
  27. RegEdit_OnKeyTreeItemExpanding(
  28. HWND hWnd,
  29. LPNM_TREEVIEW lpNMTreeView
  30. );
  31. VOID
  32. PASCAL
  33. RegEdit_OnKeyTreeSelChanged(
  34. HWND hWnd,
  35. LPNM_TREEVIEW lpNMTreeView
  36. );
  37. VOID
  38. PASCAL
  39. RegEdit_OnSelChangedTimer(
  40. HWND hWnd
  41. );
  42. VOID
  43. PASCAL
  44. RegEdit_KeyTreeSelChanged(
  45. HWND hWnd
  46. );
  47. VOID
  48. PASCAL
  49. RegEdit_OnKeyTreeBeginDrag(
  50. HWND hWnd,
  51. NM_TREEVIEW FAR* lpNMTreeView
  52. );
  53. BOOL
  54. PASCAL
  55. RegEdit_OnKeyTreeBeginLabelEdit(
  56. HWND hWnd,
  57. TV_DISPINFO FAR* lpTVDispInfo
  58. );
  59. BOOL
  60. PASCAL
  61. RegEdit_OnKeyTreeEndLabelEdit(
  62. HWND hWnd,
  63. TV_DISPINFO FAR* lpTVDispInfo
  64. );
  65. VOID
  66. PASCAL
  67. RegEdit_OnKeyTreeCommand(
  68. HWND hWnd,
  69. int MenuCommand,
  70. HTREEITEM hTreeItem
  71. );
  72. VOID
  73. PASCAL
  74. RegEdit_OnKeyTreeContextMenu(
  75. HWND hWnd,
  76. BOOL fByAccelerator
  77. );
  78. VOID
  79. PASCAL
  80. RegEdit_SetKeyTreeEditMenuItems(
  81. HMENU hPopupMenu,
  82. HTREEITEM hSelectedTreeItem
  83. );
  84. VOID
  85. PASCAL
  86. RegEdit_OnKeyTreeRefresh(
  87. HWND hWnd
  88. );
  89. VOID
  90. PASCAL
  91. RegEdit_OnKeyTreeDisconnect(
  92. HWND hWnd,
  93. HTREEITEM hTreeItem
  94. );
  95. VOID
  96. PASCAL
  97. RegEdit_UpdateStatusBar(
  98. VOID
  99. );
  100. VOID
  101. PASCAL
  102. RegEdit_OnCopyKeyName(
  103. HWND hWnd,
  104. HTREEITEM hTreeItem
  105. );
  106. #define BKP_TOSUBKEY 0x0000
  107. #define BKP_TOSYMBOLICROOT 0x0001
  108. #define BKP_TOCOMPUTER (0x0002 | BKP_TOSYMBOLICROOT)
  109. HKEY
  110. PASCAL
  111. KeyTree_BuildKeyPath(
  112. HWND hTreeViewWnd,
  113. HTREEITEM hTreeItem,
  114. LPTSTR lpKeyPath,
  115. DWORD cchKeyPathMax,
  116. UINT ToFlags
  117. );
  118. BOOL
  119. PASCAL
  120. KeyTree_ExpandBranch(
  121. HWND hKeyTreeWnd,
  122. HTREEITEM hExpandingTreeItem
  123. );
  124. HKEY KeyTree_GetRootKey(HTREEITEM hTreeItem);
  125. PTSTR KeyTree_GetKeyName(HTREEITEM hTreeItem, PTSTR pszName, int cchNameMax);
  126. #endif // _INC_REGKEY