Source code of Windows XP (NT5)
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.

62 lines
1.5 KiB

  1. /*******************************************************************************
  2. *
  3. * (C) COPYRIGHT MICROSOFT CORP., 1993-1994
  4. *
  5. * TITLE: REGFILE.H
  6. *
  7. * VERSION: 4.01
  8. *
  9. * AUTHOR: Tracy Sharpe
  10. *
  11. * DATE: 05 Mar 1994
  12. *
  13. * File import and export user interface routines for the Registry Editor.
  14. *
  15. *******************************************************************************/
  16. #ifndef _INC_REGFILE
  17. #define _INC_REGFILE
  18. HWND g_hRegProgressWnd;
  19. VOID RegEdit_ImportRegFile(HWND hWnd, BOOL fSilentMode, LPTSTR lpFileName, HTREEITEM hComputerItem);
  20. BOOL RegEdit_SetPrivilege(LPCTSTR lpszPrivilege, BOOL bEnablePrivilege);
  21. VOID RegEdit_OnCommandLoadHive(HWND hWnd);
  22. VOID RegEdit_OnCommandUnloadHive(hWnd);
  23. VOID
  24. PASCAL
  25. RegEdit_OnDropFiles(
  26. HWND hWnd,
  27. HDROP hDrop
  28. );
  29. VOID
  30. PASCAL
  31. RegEdit_OnCommandImportRegFile(
  32. HWND hWnd
  33. );
  34. VOID
  35. PASCAL
  36. RegEdit_ExportRegFile(
  37. HWND hWnd,
  38. BOOL fSilentMode,
  39. LPTSTR lpFileName,
  40. LPTSTR lpSelectedPath
  41. );
  42. VOID
  43. PASCAL
  44. RegEdit_OnCommandExportRegFile(
  45. HWND hWnd
  46. );
  47. void RegEdit_ImportToConnectedComputer(HWND hWnd, PTSTR pszFileName);
  48. INT_PTR RegConnectedComputerDlgProc(HWND hWnd, UINT uMessage, WPARAM wParam, LPARAM lParam);
  49. void RegImport_OnCommandOk(HWND hWnd, PTSTR pszFileName);
  50. INT_PTR RegImport_OnInitDialog(HWND hWnd);
  51. BOOL RegEdit_GetFileName(HWND hWnd, UINT uTitleStringID, UINT uFilterStringID,
  52. UINT uDefExtStringID, LPTSTR lpFileName, DWORD cchFileName, BOOL fOpen);
  53. #endif // _INC_REGFILE