mirror of https://github.com/tongzx/nt5src
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.
58 lines
1.5 KiB
58 lines
1.5 KiB
//+---------------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
// Copyright (C) Microsoft Corporation, 1999-2001.
|
|
//
|
|
// File: srdiag.h
|
|
//
|
|
// Contents: This the header file for the main module of srdiag.exe.
|
|
//
|
|
// Classes:
|
|
//
|
|
// Functions:
|
|
//
|
|
// Coupling:
|
|
//
|
|
// Notes:
|
|
//
|
|
// History: 20-04-2001 weiyouc Created
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
|
|
#ifndef __SRDIAG_H__
|
|
#define __SRDIAG_H__
|
|
|
|
//--------------------------------------------------------------------------
|
|
// Headers
|
|
//--------------------------------------------------------------------------
|
|
|
|
//--------------------------------------------------------------------------
|
|
// Various Defines
|
|
//--------------------------------------------------------------------------
|
|
#define SR_CONFIG_REG_KEY \
|
|
TEXT("SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\SystemRestore\\Cfg")
|
|
|
|
//--------------------------------------------------------------------------
|
|
// ProtoTypes
|
|
//--------------------------------------------------------------------------
|
|
|
|
HRESULT GetSRRegInfo(LPTSTR ptszLogFile);
|
|
|
|
HRESULT ParseRstrLog(LPTSTR ptszRstrLog,
|
|
LPTSTR ptszReadableLog);
|
|
|
|
HRESULT GetDSOnSysVol(LPTSTR* pptszDsOnSys);
|
|
|
|
HRESULT RPEnumDrives(MPC::Cabinet* pCab,
|
|
LPTSTR ptszLogFile);
|
|
|
|
HRESULT GetChgLogOnDrives(LPTSTR ptszLogFile);
|
|
|
|
HRESULT GetSRFileInfo(LPTSTR ptszLogFile);
|
|
|
|
HRESULT GetSREvents(LPTSTR ptszLogFile);
|
|
|
|
HRESULT CleanupFiles();
|
|
|
|
#endif
|
|
|