Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygensrrestoreptapi.h
Go to the documentation of this file.
00001 /* 00002 * Definitions for the System File Checker (Windows File Protection) 00003 * 00004 * Copyright 2008 Pierre Schweitzer 00005 * 00006 * This library is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU Lesser General Public 00008 * License as published by the Free Software Foundation; either 00009 * version 2.1 of the License, or (at your option) any later version. 00010 * 00011 * This library is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 * Lesser General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU Lesser General Public 00017 * License along with this library; if not, write to the Free Software 00018 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 00019 */ 00020 00021 #ifndef _SRRESTOREPTAPI_H 00022 #define _SRRESTOREPTAPI_H 00023 00024 #ifdef __cplusplus 00025 extern "C" { 00026 #endif 00027 00028 /* Defines */ 00029 00030 /* Event types */ 00031 #define BEGIN_NESTED_SYSTEM_CHANGE 102 00032 #define END_NESTED_SYSTEM_CHANGE 103 00033 00034 /* Restore point types */ 00035 #define APPLICATION_INSTALL 0 00036 00037 #define MAX_DESC 64 00038 #define MAX_DESC_W 256 00039 00040 /* Types */ 00041 00042 typedef struct _RESTOREPTINFOA { 00043 DWORD dwEventType; 00044 DWORD dwRestorePtType; 00045 INT64 llSequenceNumber; 00046 CHAR szDescription[MAX_DESC]; 00047 } RESTOREPOINTINFOA, *PRESTOREPOINTINFOA; 00048 00049 typedef struct _RESTOREPTINFOW { 00050 DWORD dwEventType; 00051 DWORD dwRestorePtType; 00052 INT64 llSequenceNumber; 00053 WCHAR szDescription[MAX_DESC_W]; 00054 } RESTOREPOINTINFOW, *PRESTOREPOINTINFOW; 00055 00056 typedef struct _SMGRSTATUS { 00057 DWORD nStatus; 00058 INT64 llSequenceNumber; 00059 } STATEMGRSTATUS, *PSTATEMGRSTATUS; 00060 00061 /* Functions */ 00062 00063 BOOL WINAPI SRSetRestorePointA(PRESTOREPOINTINFOA, PSTATEMGRSTATUS); 00064 BOOL WINAPI SRSetRestorePointW(PRESTOREPOINTINFOW, PSTATEMGRSTATUS); 00065 DWORD WINAPI SRRemoveRestorePoint(DWORD); 00066 00067 #ifdef __cplusplus 00068 } 00069 #endif 00070 00071 #endif Generated on Sun May 27 2012 04:32:23 for ReactOS by
1.7.6.1
|