RESTOREPOINTINFOA structure (srrestoreptapi.h)
Contains information used by the SRSetRestorePoint function.
Syntax
typedef struct _RESTOREPTINFOA {
DWORD dwEventType;
DWORD dwRestorePtType;
INT64 llSequenceNumber;
CHAR szDescription[MAX_DESC];
} RESTOREPOINTINFOA, *PRESTOREPOINTINFOA;
Members
dwEventType
The type of event. This member can be one of the following values.
dwRestorePtType
The type of restore point. This member can be one of the following values.
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[MAX_DESC]
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.
Remarks
Note
The srrestoreptapi.h header defines RESTOREPOINTINFO as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | None supported |
Header | srrestoreptapi.h |