SRRemoveRestorePoint function (srrestoreptapi.h)

Deletes the specified restore point.

Syntax

DWORD SRRemoveRestorePoint(
  [in] DWORD dwRPNum
);

Parameters

[in] dwRPNum

The sequence number of the restore point.

Return value

If the function succeeds, the return value is ERROR_SUCCESS.

If the specified restore point does not exist or cannot be removed, the return value is ERROR_INVALID_DATA. All other error codes indicate an internal error.

Remarks

Applications should not call System Restore functions using load-time dynamic linking. Instead, use the LoadLibrary function to load SrClient.dll and GetProcAddress to call the function.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header srrestoreptapi.h
DLL SrClient.dll

See also

SRSetRestorePoint