Export (0) Print
Expand All

RESTOREPOINTINFO structure

Contains information used by the SRSetRestorePoint function.

Syntax


typedef struct _RESTOREPTINFO {
  DWORD dwEventType;
  DWORD dwRestorePtType;
  INT64 llSequenceNumber;
  TCHAR szDescription[MAX_DESC];
} RESTOREPOINTINFO, *PRESTOREPOINTINFO;

Members

dwEventType

The type of event. This member can be one of the following values.

Event typeMeaning
BEGIN_NESTED_SYSTEM_CHANGE
102

A system change has begun. A subsequent nested call does not create a new restore point.

Subsequent calls must use END_NESTED_SYSTEM_CHANGE, not END_SYSTEM_CHANGE.

BEGIN_SYSTEM_CHANGE
100

A system change has begun.

END_NESTED_SYSTEM_CHANGE
103

A system change has ended.

END_SYSTEM_CHANGE
101

A system change has ended.

 

dwRestorePtType

The type of restore point. This member can be one of the following values.

Restore point typeMeaning
APPLICATION_INSTALL
0

An application has been installed.

APPLICATION_UNINSTALL
1

An application has been uninstalled.

DEVICE_DRIVER_INSTALL
10

A device driver has been installed.

MODIFY_SETTINGS
12

An application has had features added or removed.

CANCELLED_OPERATION
13

An application needs to delete the restore point it created. For example, an application would use this flag when a user cancels an installation.

 

llSequenceNumber

The sequence number of the restore point. To end a system change, set this to the sequence number returned by the previous call to SRSetRestorePoint.

szDescription

The description to be displayed so the user can easily identify a restore point. The maximum length of an ANSI string is MAX_DESC. The maximum length of a Unicode string is MAX_DESC_W. For more information, see Restore Point Description Text.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

None supported

Header

SRRestorePtAPI.h

Unicode and ANSI names

RESTOREPOINTINFOW (Unicode) and RESTOREPOINTINFOA (ANSI)

See also

SRSetRestorePoint

 

 

Community Additions

ADD
Show:
© 2014 Microsoft