windows-nt/Source/XPSP1/NT/admin/pchealth/sr/nttest/srdiag2/srdiag.h

59 lines
1.5 KiB
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
//+---------------------------------------------------------------------------
//
// 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