windows-nt/Source/XPSP1/NT/base/fs/utils/regedit/regfile.h

63 lines
1.5 KiB
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
/*******************************************************************************
*
* (C) COPYRIGHT MICROSOFT CORP., 1993-1994
*
* TITLE: REGFILE.H
*
* VERSION: 4.01
*
* AUTHOR: Tracy Sharpe
*
* DATE: 05 Mar 1994
*
* File import and export user interface routines for the Registry Editor.
*
*******************************************************************************/
#ifndef _INC_REGFILE
#define _INC_REGFILE
HWND g_hRegProgressWnd;
VOID RegEdit_ImportRegFile(HWND hWnd, BOOL fSilentMode, LPTSTR lpFileName, HTREEITEM hComputerItem);
BOOL RegEdit_SetPrivilege(LPCTSTR lpszPrivilege, BOOL bEnablePrivilege);
VOID RegEdit_OnCommandLoadHive(HWND hWnd);
VOID RegEdit_OnCommandUnloadHive(hWnd);
VOID
PASCAL
RegEdit_OnDropFiles(
HWND hWnd,
HDROP hDrop
);
VOID
PASCAL
RegEdit_OnCommandImportRegFile(
HWND hWnd
);
VOID
PASCAL
RegEdit_ExportRegFile(
HWND hWnd,
BOOL fSilentMode,
LPTSTR lpFileName,
LPTSTR lpSelectedPath
);
VOID
PASCAL
RegEdit_OnCommandExportRegFile(
HWND hWnd
);
void RegEdit_ImportToConnectedComputer(HWND hWnd, PTSTR pszFileName);
INT_PTR RegConnectedComputerDlgProc(HWND hWnd, UINT uMessage, WPARAM wParam, LPARAM lParam);
void RegImport_OnCommandOk(HWND hWnd, PTSTR pszFileName);
INT_PTR RegImport_OnInitDialog(HWND hWnd);
BOOL RegEdit_GetFileName(HWND hWnd, UINT uTitleStringID, UINT uFilterStringID,
UINT uDefExtStringID, LPTSTR lpFileName, DWORD cchFileName, BOOL fOpen);
#endif // _INC_REGFILE